diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-10-28 12:15:26 (GMT) |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-10-28 12:15:26 (GMT) |
commit | e1fbd9210d5d172f951b1d21eb58383919c4d10d (patch) | |
tree | 487ba732770ea2f3ef39f57161a795477feaf6a6 /drivers/block/aoe/aoeblk.c | |
parent | 5ad21a337420e82bffb7836ab34027dd7ad624b8 (diff) | |
download | linux-e1fbd9210d5d172f951b1d21eb58383919c4d10d.tar.xz |
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 'drivers/block/aoe/aoeblk.c')
0 files changed, 0 insertions, 0 deletions