Skip to content

Commit

Permalink
Revert "[MTD] blkdev helper code: fix printk format warning"
Browse files Browse the repository at this point in the history
This reverts commit 668040f.

The 'flags' field of the struct request is 'unsigned long'. Quite
how Randy came to see 'long int format, different type arg' I don't
know, but it doesn't seem to be the case any more.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Sep 22, 2006
1 parent 51197ab commit e4e3295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/mtd_blkdevs.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static int do_blktrans_request(struct mtd_blktrans_ops *tr,
return 1;

default:
printk(KERN_NOTICE "Unknown request %d\n", rq_data_dir(req));
printk(KERN_NOTICE "Unknown request %ld\n", rq_data_dir(req));
return 0;
}
}
Expand Down

0 comments on commit e4e3295

Please sign in to comment.