]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drivers/md/raid5.c: fix printk warnings
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 20 Mar 2008 00:01:05 +0000 (17:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Mar 2008 01:53:37 +0000 (18:53 -0700)
commit9ea85ebae1e05100cdb4807db4f265b0ede7aad8
treec12e7a0a7339291f0dcf3deff6dcabf40c00e29f
parent8195096bf2e3756264561d7a47d547bafd4e9100
drivers/md/raid5.c: fix printk warnings

gcc-3.4.5 on sparc64:

drivers/md/raid5.c: In function `raid5_end_read_request':
drivers/md/raid5.c:1147: warning: long long unsigned int format, long unsigned int arg (arg 4)
drivers/md/raid5.c:1164: warning: long long unsigned int format, long unsigned int arg (arg 3)
drivers/md/raid5.c:1170: warning: long long unsigned int format, long unsigned int arg (arg 3)

sector_t is u64, and we don't know what type the architecture uses to
implement u64 (on some it is unsigned long).

Cc: Neil Brown <neilb@suse.de>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/raid5.c