Hi all, After merging the fsinfo tree, today's linux-next build (powerpc allyesconfig) produced this warning:
samples/vfs/test-fsinfo.c: In function 'dump_fsinfo_generic_statfs':
samples/vfs/test-fsinfo.c:135:30: warning: format '%llu' expects argument of
type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long
unsigned int'} [-Wformat=]
135 | printf("\tbsize : %llu\n", f->f_bsize);
| ~~~^ ~~~~~~~~~~
| | |
| | __u64 {aka long unsigned int}
| long long unsigned int
| %lu
samples/vfs/test-fsinfo.c:136:30: warning: format '%llu' expects argument of
type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long
unsigned int'} [-Wformat=]
136 | printf("\tfrsize : %llu\n", f->f_frsize);
| ~~~^ ~~~~~~~~~~~
| | |
| | __u64 {aka long unsigned int}
| long long unsigned int
| %lu
Introduced by commit
1b3979fc0f0c ("fsinfo: Add fsinfo() syscall to query filesystem information")
--
Cheers,
Stephen Rothwell
pgp_dIK_rZSSx.pgp
Description: OpenPGP digital signature

