* + samples-add-hung_task-detector-mutex-blocking-sample-fix.patch added to mm-nonmm-unstable branch
@ 2025-03-18 2:54 Andrew Morton
2025-03-18 3:47 ` Masami Hiramatsu
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2025-03-18 2:54 UTC (permalink / raw)
To: mm-commits, mhiramat, lkp, akpm, akpm
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@linux-foundation.org>
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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503180827.4StpuFrD-lkp@intel.com/
Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@linux-foundation.org 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: + samples-add-hung_task-detector-mutex-blocking-sample-fix.patch added to mm-nonmm-unstable branch
2025-03-18 2:54 + samples-add-hung_task-detector-mutex-blocking-sample-fix.patch added to mm-nonmm-unstable branch Andrew Morton
@ 2025-03-18 3:47 ` Masami Hiramatsu
0 siblings, 0 replies; 2+ messages in thread
From: Masami Hiramatsu @ 2025-03-18 3:47 UTC (permalink / raw)
To: Andrew Morton; +Cc: mm-commits, lkp
On Mon, 17 Mar 2025 19:54:51 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:
>
> 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@linux-foundation.org>
> 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@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202503180827.4StpuFrD-lkp@intel.com/
> Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Thanks for fixing.
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Thank you!
> ---
>
> 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@linux-foundation.org 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
>
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-18 3:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18 2:54 + samples-add-hung_task-detector-mutex-blocking-sample-fix.patch added to mm-nonmm-unstable branch Andrew Morton
2025-03-18 3:47 ` Masami Hiramatsu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.