linux-next: build warning after merge of the akpm-current tree

From: Stephen Rothwell
Date: Fri Jun 08 2018 - 00:45:39 EST


Hi Andrew,

After merging the akpm-current tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

In file included from fs/fat/inode.c:24:0:
fs/fat/inode.c: In function '__fat_get_block':
fs/fat/inode.c:163:9: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'sector_t {aka long long unsigned int}' [-Wformat=]
"invalid FAT chain (i_pos %lld, last_block %ld)",
^
fs/fat/fat.h:397:24: note: in definition of macro 'fat_fs_error'
__fat_fs_error(sb, 1, fmt , ## args)
^~~

Introduced by commit

3bdac70a1921 ("fat: use fat_fs_error() instead of BUG_ON() in __fat_get_block()")

--
Cheers,
Stephen Rothwell

Attachment: pgpIHN4MQFpir.pgp
Description: OpenPGP digital signature