From: Jeff Garzik Date: Sun, 1 Oct 2006 16:16:00 +0000 (-0400) Subject: [MTD] fix printk warning X-Git-Tag: v2.6.19-rc1~374^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a292308255ad381dd74541be468c4aec240a615;p=pandora-kernel.git [MTD] fix printk warning gcc spits out this warning: drivers/mtd/mtd_blkdevs.c: In function ‘do_blktrans_request’: drivers/mtd/mtd_blkdevs.c:72: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘unsigned int’ This could be fixed any number of ways, including use of BUG(). rq_data_dir() only returns 0 or 1, so this entire case is superfluous. I did the most simple fix. Signed-off-by: Jeff Garzik Signed-off-by: David Woodhouse --- Reading git-diff-tree failed