diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-06-13 09:30:06 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-13 03:17:50 -0600 |
commit | 1d0c06513bd44e724f572ef9c932d0c889d183c6 (patch) | |
tree | ca5521caabcf99fff0ae7dd86e8d3e29b9eb368b /fs/iomap.c | |
parent | 31f6264e225fb92cf6f4b63031424f20797c297d (diff) | |
download | linux-1d0c06513bd44e724f572ef9c932d0c889d183c6.tar.gz linux-1d0c06513bd44e724f572ef9c932d0c889d183c6.tar.bz2 linux-1d0c06513bd44e724f572ef9c932d0c889d183c6.zip |
block/ps3vram: Use %llu to format sector_t after LBDAF removal
The removal of CONFIG_LBDAF changed the type of sector_t from "unsigned
long" to "u64" aka "unsigned long long" on 64-bit platforms, leading to
a compiler warning regression:
drivers/block/ps3vram.c: In function ‘ps3vram_probe’:
drivers/block/ps3vram.c:770:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘sector_t {aka long long unsigned int}’ [-Wformat=]
Fix this by using "%llu" instead.
Fixes: 72deb455b5ec619f ("block: remove CONFIG_LBDAF")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/iomap.c')
0 files changed, 0 insertions, 0 deletions