[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20241211143701.5cfc95a7@canb.auug.org.au>
Date: Wed, 11 Dec 2024 14:37:01 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Christian Brauner <brauner@...nel.org>
Cc: Jeff Layton <jlayton@...nel.org>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, Linux Next Mailing List
<linux-next@...r.kernel.org>
Subject: linux-next: build warnings after merge of the vfs-brauner tree
Hi all,
After merging the vfs-brauner tree, today's linux-next build (powerpc
allyesconfig) produced these warnings:
samples/vfs/mountinfo.c: In function 'show_propagation':
samples/vfs/mountinfo.c:104:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
104 | printf(" shared:%llu", sm->mnt_peer_group);
| ~~~^ ~~~~~~~~~~~~~~~~~~
| | |
| | __u64 {aka long unsigned int}
| long long unsigned int
| %lu
samples/vfs/mountinfo.c:106:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
106 | printf(" master:%llu", sm->mnt_master);
| ~~~^ ~~~~~~~~~~~~~~
| | |
| | __u64 {aka long unsigned int}
| long long unsigned int
| %lu
samples/vfs/mountinfo.c:108:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
108 | printf(" propagate_from:%llu", sm->propagate_from);
| ~~~^ ~~~~~~~~~~~~~~~~~~
| | |
| | __u64 {aka long unsigned int}
| long long unsigned int
| %lu
samples/vfs/mountinfo.c: In function 'dump_mountinfo':
samples/vfs/mountinfo.c:144:42: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
144 | printf("0x%lx 0x%lx 0x%llx ", mnt_ns_id, mnt_id, buf->mnt_parent_id);
| ~~~^ ~~~~~~~~~~~~~~~~~~
| | |
| long long unsigned int __u64 {aka long unsigned int}
| %lx
Introduced by commits
0c8f746452aa ("samples: add a mountinfo program to demonstrate statmount()/listmount()")
ee8c840a4a35 ("samples: fix missing nodiratime option and handle propagate_from correctly")
I am not sure why these warnings only turned up today.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists