The patch titled Subject: samples-add-hung_task-detector-mutex-blocking-sample-fix has been added to the -mm mm-nonmm-unstable branch. Its filename is samples-add-hung_task-detector-mutex-blocking-sample-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/samples-add-hung_task-detector-mutex-blocking-sample-fix.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: samples-add-hung_task-detector-mutex-blocking-sample-fix Date: Mon Mar 17 07:53:34 PM PDT 2025 make `hung_task_dir' static Reported-by: kernel test robot <lkp@xxxxxxxxx> Closes: https://lore.kernel.org/oe-kbuild-all/202503180827.4StpuFrD-lkp@xxxxxxxxx/ Cc: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- samples/hung_task/Makefile | 2 +- samples/hung_task/hung_task_mutex.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/samples/hung_task/hung_task_mutex.c~samples-add-hung_task-detector-mutex-blocking-sample-fix +++ a/samples/hung_task/hung_task_mutex.c @@ -22,7 +22,7 @@ static const char dummy_string[] = "This is a dummy string."; static DEFINE_MUTEX(dummy_mutex); -struct dentry *hung_task_dir; +static struct dentry *hung_task_dir; static ssize_t read_dummy(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) --- a/samples/hung_task/Makefile~samples-add-hung_task-detector-mutex-blocking-sample-fix +++ a/samples/hung_task/Makefile @@ -1,2 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SAMPLE_HUNG_TASK) += hung_task_mutex.o \ No newline at end of file +obj-$(CONFIG_SAMPLE_HUNG_TASK) += hung_task_mutex.o _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-pgtable-convert-some-architectures-to-use-tlb_remove_ptdesc-v2-fix.patch hung_task-show-the-blocker-task-if-the-task-is-hung-on-mutex-fix.patch samples-add-hung_task-detector-mutex-blocking-sample-fix.patch