Re: [PATCH 1/1 linux-next] btrfs: fix sizeof format specifier in btrfs_check_super_valid()

2015-02-22 Thread Geert Uytterhoeven
On Sat, Feb 14, 2015 at 1:10 PM, Fabian Frederick f...@skynet.be wrote: This patch fixes mips compilation warning: Actually it happens on all 32-bit platforms (where size_t is unsigned int). fs/btrfs/disk-io.c: In function 'btrfs_check_super_valid': fs/btrfs/disk-io.c:3927:21: warning: format

[PATCH 1/1 linux-next] btrfs: fix sizeof format specifier in btrfs_check_super_valid()

2015-02-14 Thread Fabian Frederick
This patch fixes mips compilation warning: fs/btrfs/disk-io.c: In function 'btrfs_check_super_valid': fs/btrfs/disk-io.c:3927:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat] Signed-off-by: Fabian Frederick f...@skynet.be