Re: (subset) [PATCH] selftests/namespaces: initialize the byte the children write
From: Christian Brauner
Date: Thu Nov 05 2026 - 17:07:19 EST
On Tue, 03 Nov 2026 11:54:17 -0500, Sasha Levin wrote:
> The children in listns_pagination_bug and stress_test write c to the
> parent only to say they are ready, but never set it, and clang 21
> warns:
>
> stress_test.c:137:22: warning: variable 'c' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
>
> Initialize it to 'X', as the parent does with its byte.
>
> [...]
Applied to the vfs-7.5.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.5.misc 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-7.5.misc
[1/1] selftests/namespaces: initialize the byte the children write
https://git.kernel.org/vfs/vfs/c/b2971bf97205