diff options
author | 2010-10-28 06:15:26 -0600 | |
---|---|---|
committer | 2010-10-28 06:15:26 -0600 | |
commit | e1fbd9210d5d172f951b1d21eb58383919c4d10d (patch) | |
tree | 487ba732770ea2f3ef39f57161a795477feaf6a6 /kernel/resource.c | |
parent | aoe: don't use flush_scheduled_work() (diff) | |
download | wireguard-linux-e1fbd9210d5d172f951b1d21eb58383919c4d10d.tar.xz wireguard-linux-e1fbd9210d5d172f951b1d21eb58383919c4d10d.zip |
drivers/block/z2ram.c: correct printing of sector_t
If CONFIG_LBDAF=y, `sector_t' becomes `u64' instead of `unsigned long':
drivers/block/z2ram.c: In function ¡do_z2_request¢:
drivers/block/z2ram.c:83: warning: format %lu expects type `long unsigned int', but argument 2 has type `sector_t'
Hence always cast it to `unsigned long long' for printing. Also do the
pr_err() dance, while we're at it.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions