lkml.org 
[lkml]   [2020]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warnings after merge of the fsinfo tree
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-08-04 09:36    [W:0.032 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site