* [PATCH] samples: pidfd: fix userprogs typo
@ 2026-10-11 22:33 Sasha Levin
2026-10-12 8:34 ` Christian Brauner
0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2026-10-11 22:33 UTC (permalink / raw)
To: Christian Brauner, Nathan Chancellor, Nick Desaulniers,
Bill Wendling, Justin Stitt, Sam Ravnborg, Masahiro Yamada
Cc: Sasha Levin, linux-kernel, llvm
The Makefile adds pidfd-metadata to "usertprogs-always-y", which kbuild
does not know, so the sample has not been built since the conversion to
userprogs, even with CONFIG_SAMPLE_PIDFD=y.
Fix the variable name. pidfd-metadata.c builds without warnings with
gcc and clang for x86_64 and arm64.
Fixes: 60fb0b1239719 ("samples: pidfd: build sample program for target architecture")
Assisted-by: LLM
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
samples/pidfd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/pidfd/Makefile b/samples/pidfd/Makefile
index 9754e2d81f70d..d82409f7061f3 100644
--- a/samples/pidfd/Makefile
+++ b/samples/pidfd/Makefile
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
-usertprogs-always-y += pidfd-metadata
+userprogs-always-y += pidfd-metadata
userccflags += -I usr/include
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] samples: pidfd: fix userprogs typo
2026-10-11 22:33 [PATCH] samples: pidfd: fix userprogs typo Sasha Levin
@ 2026-10-12 8:34 ` Christian Brauner
0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2026-10-12 8:34 UTC (permalink / raw)
To: Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
Sam Ravnborg, Masahiro Yamada, Sasha Levin
Cc: linux-kernel, llvm
On Sun, 11 Oct 2026 18:33:42 -0400, Sasha Levin wrote:
> The Makefile adds pidfd-metadata to "usertprogs-always-y", which kbuild
> does not know, so the sample has not been built since the conversion to
> userprogs, even with CONFIG_SAMPLE_PIDFD=y.
>
> Fix the variable name. pidfd-metadata.c builds without warnings with
> gcc and clang for x86_64 and arm64.
>
> [...]
Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes 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.fixes
[1/1] samples: pidfd: fix userprogs typo
https://git.kernel.org/vfs/vfs/c/5355aea1165e
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-12 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-11 22:33 [PATCH] samples: pidfd: fix userprogs typo Sasha Levin
2026-10-12 8:34 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®