From: Jens Axboe Date: Mon, 9 May 2011 06:28:13 +0000 (+0200) Subject: fs: fixup warning part_discard_alignment_show() X-Git-Tag: v3.0-rc1~163^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbdd304cf66fbf2b4b2d28418dc619d443635e83;p=pandora-kernel.git fs: fixup warning part_discard_alignment_show() Stephen reports: ----- After merging the block tree, today's linux-next build (x86_64 allmodconfig) produced this warning: fs/partitions/check.c: In function 'part_discard_alignment_show': fs/partitions/check.c:263: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long long unsigned int' Introduced by commit ("block: Remove extra discard_alignment from hd_struct") ----- Fix it up by just removing the cast, we return an int already. Reported-by: Stephen Rothwell Signed-off-by: Jens Axboe --- Reading git-diff-tree failed