Hi all, After merging the fsinfo tree, today's linux-next build (powerpc allyesconfig) produced these warnings:
samples/vfs/test-mntinfo.c: In function 'display_mount':
samples/vfs/test-mntinfo.c:146:19: warning: format '%llx' expects argument of
type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long
unsigned int'} [-Wformat=]
146 | printf("%10u %8llx %2x %x %5s %s",
| ~~~~^
| |
| long long unsigned int
| %8lx
147 | info.mnt_id,
148 | (info.mnt_attr_changes +
| ~~~~~~~~~~~~~~~~~~~~~~~~
149 | info.mnt_topology_changes +
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| __u64 {aka long unsigned int}
150 | info.mnt_subtree_notifications),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
samples/vfs/test-fsinfo.c: In function 'dump_fsinfo_generic_mount_all':
samples/vfs/test-fsinfo.c:384:30: warning: format '%llu' expects argument of
type 'long long unsigned int', but argument 5 has type '__u64' {aka 'long
unsigned int'} [-Wformat=]
384 | printf("%5x %5x %12llx %10llu %s\n",
| ~~~~~^
| |
| long long unsigned int
| %10lu
385 | r->mnt_id, r->parent_id, (unsigned long long)r->mnt_unique_id,
386 | r->mnt_notify_sum, mp);
| ~~~~~~~~~~~~~~~~~
| |
| __u64 {aka long unsigned int}
--
Cheers,
Stephen Rothwell
pgprfzn9rIDu1.pgp
Description: OpenPGP digital signature

