Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2207129 authored by Fabian Frederick's avatar Fabian Frederick Committed by Chris Mason
Browse files

btrfs: fix sizeof format specifier in btrfs_check_super_valid()



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: default avatarFabian Frederick <fabf@skynet.be>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent dd9ef135
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3923,7 +3923,7 @@ static int btrfs_check_super_valid(struct btrfs_fs_info *fs_info,
	}
	if (btrfs_super_sys_array_size(sb) < sizeof(struct btrfs_disk_key)
			+ sizeof(struct btrfs_chunk)) {
		printk(KERN_ERR "BTRFS: system chunk array too small %u < %lu\n",
		printk(KERN_ERR "BTRFS: system chunk array too small %u < %zu\n",
				btrfs_super_sys_array_size(sb),
				sizeof(struct btrfs_disk_key)
				+ sizeof(struct btrfs_chunk));