lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241219173156.7dce2f07@canb.auug.org.au>
Date: Thu, 19 Dec 2024 17:31:56 +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: Re: linux-next: build warnings after merge of the vfs-brauner tree

Hi all,

On Wed, 11 Dec 2024 14:37:01 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> 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.

I am still seeing these warnings.
-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ