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] [day] [month] [year] [list]
Message-ID: <20250110-genom-jagdsaison-02d05f945840@brauner>
Date: Fri, 10 Jan 2025 12:08:47 +0100
From: Christian Brauner <brauner@...nel.org>
To: Jeff Layton <jlayton@...nel.org>,
	Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Christian Brauner <brauner@...nel.org>,
	linux-next@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] samples/vfs/mountinfo: Use __u64 instead of uint64_t

On Mon, 06 Jan 2025 14:48:01 +0100, Geert Uytterhoeven wrote:
> On 32-bit (e.g. arm32, m68k):
> 
>     samples/vfs/mountinfo.c: In function ‘dump_mountinfo’:
>     samples/vfs/mountinfo.c:145:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=]
>       145 |                 printf("0x%lx 0x%lx 0x%llx ", mnt_ns_id, mnt_id, buf->mnt_parent_id);
> 	  |                           ~~^                 ~~~~~~~~~
> 	  |                             |                 |
> 	  |                             long unsigned int uint64_t {aka long long unsigned int}
> 	  |                           %llx
>     samples/vfs/mountinfo.c:145:35: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=]
>       145 |                 printf("0x%lx 0x%lx 0x%llx ", mnt_ns_id, mnt_id, buf->mnt_parent_id);
> 	  |                                 ~~^                      ~~~~~~
> 	  |                                   |                      |
> 	  |                                   long unsigned int      uint64_t {aka long long unsigned int}
> 	  |                                 %llx
> 
> [...]

Applied to the vfs-6.14.mount branch of the vfs/vfs.git tree.
Patches in the vfs-6.14.mount branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-6.14.mount

[1/1] samples/vfs/mountinfo: Use __u64 instead of uint64_t
      https://git.kernel.org/vfs/vfs/c/f79e6eb84d4d

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ