[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202507171254.FobDRyqP-lkp@intel.com>
Date: Thu, 17 Jul 2025 12:23:38 +0800
From: kernel test robot <lkp@...el.com>
To: Bhupesh <bhupesh@...lia.com>, akpm@...ux-foundation.org
Cc: oe-kbuild-all@...ts.linux.dev, bhupesh@...lia.com,
kernel-dev@...lia.com, linux-kernel@...r.kernel.org,
bpf@...r.kernel.org, linux-perf-users@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
oliver.sang@...el.com, lkp@...el.com, laoar.shao@...il.com,
pmladek@...e.com, rostedt@...dmis.org,
mathieu.desnoyers@...icios.com, arnaldo.melo@...il.com,
alexei.starovoitov@...il.com, andrii.nakryiko@...il.com,
mirq-linux@...e.qmqm.pl, peterz@...radead.org, willy@...radead.org,
david@...hat.com, viro@...iv.linux.org.uk, keescook@...omium.org,
ebiederm@...ssion.com, brauner@...nel.org, jack@...e.cz,
mingo@...hat.com, juri.lelli@...hat.com, bsegall@...gle.com,
mgorman@...e.de
Subject: Re: [PATCH v5 3/3] treewide: Switch from tsk->comm to tsk->comm_str
which is 64 bytes long
Hi Bhupesh,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20250715]
[cannot apply to akpm-mm/mm-everything brauner-vfs/vfs.all tip/sched/core trace/for-next linus/master v6.16-rc6 v6.16-rc5 v6.16-rc4 v6.16-rc6]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Bhupesh/exec-Remove-obsolete-comments/20250716-204047
base: next-20250715
patch link: https://lore.kernel.org/r/20250716123916.511889-4-bhupesh%40igalia.com
patch subject: [PATCH v5 3/3] treewide: Switch from tsk->comm to tsk->comm_str which is 64 bytes long
config: i386-buildonly-randconfig-001-20250717 (https://download.01.org/0day-ci/archive/20250717/202507171254.FobDRyqP-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250717/202507171254.FobDRyqP-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507171254.FobDRyqP-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from include/asm-generic/bug.h:28,
from arch/x86/include/asm/bug.h:103,
from arch/x86/include/asm/alternative.h:9,
from arch/x86/include/asm/atomic.h:7,
from include/linux/atomic.h:7,
from include/linux/debug_locks.h:5,
from kernel/panic.c:12:
kernel/panic.c: In function '__warn':
>> kernel/panic.c:818:58: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
818 | raw_smp_processor_id(), current->comm, current->pid);
| ^~~~
include/linux/printk.h:486:33: note: in definition of macro 'printk_index_wrap'
486 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/printk.h:567:9: note: in expansion of macro 'printk'
567 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
kernel/panic.c:816:17: note: in expansion of macro 'pr_warn'
816 | pr_warn("WARNING: %s:%d at %pS, CPU#%d: %s/%d\n",
| ^~~~~~~
kernel/panic.c:822:58: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
822 | raw_smp_processor_id(), current->comm, current->pid);
| ^~~~
include/linux/printk.h:486:33: note: in definition of macro 'printk_index_wrap'
486 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/printk.h:567:9: note: in expansion of macro 'printk'
567 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
kernel/panic.c:820:17: note: in expansion of macro 'pr_warn'
820 | pr_warn("WARNING: at %pS, CPU#%d: %s/%d\n",
| ^~~~~~~
--
In file included from include/asm-generic/bug.h:28,
from arch/x86/include/asm/bug.h:103,
from arch/x86/include/asm/alternative.h:9,
from arch/x86/include/asm/segment.h:6,
from arch/x86/include/asm/ptrace.h:5,
from arch/x86/include/asm/math_emu.h:5,
from arch/x86/include/asm/processor.h:13,
from include/linux/sched.h:13,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/node.h:18,
from include/linux/cpu.h:17,
from kernel/watchdog.c:15:
kernel/watchdog.c: In function 'watchdog_timer_fn':
>> kernel/watchdog.c:814:34: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
814 | current->comm, task_pid_nr(current));
| ^~~~
include/linux/printk.h:486:33: note: in definition of macro 'printk_index_wrap'
486 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/printk.h:527:9: note: in expansion of macro 'printk'
527 | printk(KERN_EMERG pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
kernel/watchdog.c:812:17: note: in expansion of macro 'pr_emerg'
812 | pr_emerg("BUG: soft lockup - CPU#%d stuck for %us! [%s:%d]\n",
| ^~~~~~~~
--
In file included from include/asm-generic/bug.h:28,
from arch/x86/include/asm/bug.h:103,
from arch/x86/include/asm/alternative.h:9,
from arch/x86/include/asm/segment.h:6,
from arch/x86/include/asm/ptrace.h:5,
from arch/x86/include/asm/math_emu.h:5,
from arch/x86/include/asm/processor.h:13,
from include/linux/sched.h:13,
from kernel/rseq.c:11:
kernel/rseq.c: In function 'rseq_validate_ro_fields':
>> kernel/rseq.c:65:36: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
65 | t->pid, t->comm,
| ^~~~
include/linux/printk.h:486:33: note: in definition of macro 'printk_index_wrap'
486 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/printk.h:567:9: note: in expansion of macro 'printk'
567 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
kernel/rseq.c:60:17: note: in expansion of macro 'pr_warn'
60 | pr_warn("Detected rseq corruption for pid: %d, name: %s\n"
| ^~~~~~~
--
In file included from include/trace/define_trace.h:132,
from include/trace/events/task.h:98,
from kernel/fork.c:121:
include/trace/events/task.h: In function 'do_trace_event_raw_event_task_newtask':
>> include/trace/events/task.h:24:45: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/trace_events.h:427:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
427 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:435:23: note: in expansion of macro 'PARAMS'
435 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:9:1: note: in expansion of macro 'TRACE_EVENT'
9 | TRACE_EVENT(task_newtask,
| ^~~~~~~~~~~
include/trace/events/task.h:22:9: note: in expansion of macro 'TP_fast_assign'
22 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/fortify-string.h:691:35: note: in expansion of macro '__struct_size'
691 | __struct_size(p), __struct_size(q), \
| ^~~~~~~~~~~~~
include/trace/events/task.h:24:17: note: in expansion of macro 'memcpy'
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~~~
>> include/trace/events/task.h:24:45: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/trace_events.h:427:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
427 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:435:23: note: in expansion of macro 'PARAMS'
435 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:9:1: note: in expansion of macro 'TRACE_EVENT'
9 | TRACE_EVENT(task_newtask,
| ^~~~~~~~~~~
include/trace/events/task.h:22:9: note: in expansion of macro 'TP_fast_assign'
22 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/fortify-string.h:692:35: note: in expansion of macro '__member_size'
692 | __member_size(p), __member_size(q), \
| ^~~~~~~~~~~~~
include/trace/events/task.h:24:17: note: in expansion of macro 'memcpy'
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~~~
>> include/trace/events/task.h:24:45: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/trace_events.h:427:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
427 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:435:23: note: in expansion of macro 'PARAMS'
435 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:9:1: note: in expansion of macro 'TRACE_EVENT'
9 | TRACE_EVENT(task_newtask,
| ^~~~~~~~~~~
include/trace/events/task.h:22:9: note: in expansion of macro 'TP_fast_assign'
22 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/trace/events/task.h:24:17: note: in expansion of macro 'memcpy'
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~~~
include/trace/events/task.h: In function 'do_trace_event_raw_event_task_rename':
include/trace/events/task.h:48:46: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/trace_events.h:427:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
427 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:435:23: note: in expansion of macro 'PARAMS'
435 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:35:1: note: in expansion of macro 'TRACE_EVENT'
35 | TRACE_EVENT(task_rename,
| ^~~~~~~~~~~
include/trace/events/task.h:47:9: note: in expansion of macro 'TP_fast_assign'
47 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/fortify-string.h:691:35: note: in expansion of macro '__struct_size'
691 | __struct_size(p), __struct_size(q), \
| ^~~~~~~~~~~~~
include/trace/events/task.h:48:17: note: in expansion of macro 'memcpy'
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~~~
include/trace/events/task.h:48:46: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/trace_events.h:427:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
427 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:435:23: note: in expansion of macro 'PARAMS'
435 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:35:1: note: in expansion of macro 'TRACE_EVENT'
35 | TRACE_EVENT(task_rename,
| ^~~~~~~~~~~
include/trace/events/task.h:47:9: note: in expansion of macro 'TP_fast_assign'
47 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/fortify-string.h:692:35: note: in expansion of macro '__member_size'
692 | __member_size(p), __member_size(q), \
| ^~~~~~~~~~~~~
include/trace/events/task.h:48:17: note: in expansion of macro 'memcpy'
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~~~
include/trace/events/task.h:48:46: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/trace_events.h:427:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
427 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:435:23: note: in expansion of macro 'PARAMS'
435 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:35:1: note: in expansion of macro 'TRACE_EVENT'
35 | TRACE_EVENT(task_rename,
| ^~~~~~~~~~~
include/trace/events/task.h:47:9: note: in expansion of macro 'TP_fast_assign'
47 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/trace/events/task.h:48:17: note: in expansion of macro 'memcpy'
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~~~
In file included from include/trace/define_trace.h:133:
include/trace/events/task.h: In function 'do_perf_trace_task_newtask':
>> include/trace/events/task.h:24:45: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/perf.h:51:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
51 | { assign; } \
| ^~~~~~
include/trace/perf.h:67:23: note: in expansion of macro 'PARAMS'
67 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:9:1: note: in expansion of macro 'TRACE_EVENT'
9 | TRACE_EVENT(task_newtask,
| ^~~~~~~~~~~
include/trace/events/task.h:22:9: note: in expansion of macro 'TP_fast_assign'
22 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/fortify-string.h:691:35: note: in expansion of macro '__struct_size'
691 | __struct_size(p), __struct_size(q), \
| ^~~~~~~~~~~~~
include/trace/events/task.h:24:17: note: in expansion of macro 'memcpy'
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~~~
>> include/trace/events/task.h:24:45: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/perf.h:51:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
51 | { assign; } \
| ^~~~~~
include/trace/perf.h:67:23: note: in expansion of macro 'PARAMS'
67 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:9:1: note: in expansion of macro 'TRACE_EVENT'
9 | TRACE_EVENT(task_newtask,
| ^~~~~~~~~~~
include/trace/events/task.h:22:9: note: in expansion of macro 'TP_fast_assign'
22 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/fortify-string.h:692:35: note: in expansion of macro '__member_size'
692 | __member_size(p), __member_size(q), \
| ^~~~~~~~~~~~~
include/trace/events/task.h:24:17: note: in expansion of macro 'memcpy'
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~~~
>> include/trace/events/task.h:24:45: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/perf.h:51:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
51 | { assign; } \
| ^~~~~~
include/trace/perf.h:67:23: note: in expansion of macro 'PARAMS'
67 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:9:1: note: in expansion of macro 'TRACE_EVENT'
9 | TRACE_EVENT(task_newtask,
| ^~~~~~~~~~~
include/trace/events/task.h:22:9: note: in expansion of macro 'TP_fast_assign'
22 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/trace/events/task.h:24:17: note: in expansion of macro 'memcpy'
24 | memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
| ^~~~~~
include/trace/events/task.h: In function 'do_perf_trace_task_rename':
include/trace/events/task.h:48:46: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/perf.h:51:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
51 | { assign; } \
| ^~~~~~
include/trace/perf.h:67:23: note: in expansion of macro 'PARAMS'
67 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:35:1: note: in expansion of macro 'TRACE_EVENT'
35 | TRACE_EVENT(task_rename,
| ^~~~~~~~~~~
include/trace/events/task.h:47:9: note: in expansion of macro 'TP_fast_assign'
47 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/fortify-string.h:691:35: note: in expansion of macro '__struct_size'
691 | __struct_size(p), __struct_size(q), \
| ^~~~~~~~~~~~~
include/trace/events/task.h:48:17: note: in expansion of macro 'memcpy'
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~~~
include/trace/events/task.h:48:46: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/perf.h:51:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
51 | { assign; } \
| ^~~~~~
include/trace/perf.h:67:23: note: in expansion of macro 'PARAMS'
67 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
44 | PARAMS(assign), \
| ^~~~~~
include/trace/events/task.h:35:1: note: in expansion of macro 'TRACE_EVENT'
35 | TRACE_EVENT(task_rename,
| ^~~~~~~~~~~
include/trace/events/task.h:47:9: note: in expansion of macro 'TP_fast_assign'
47 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/linux/fortify-string.h:690:26: note: in expansion of macro '__fortify_memcpy_chk'
690 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/fortify-string.h:692:35: note: in expansion of macro '__member_size'
692 | __member_size(p), __member_size(q), \
| ^~~~~~~~~~~~~
include/trace/events/task.h:48:17: note: in expansion of macro 'memcpy'
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~~~
include/trace/events/task.h:48:46: error: 'struct task_struct' has no member named 'comm'; did you mean 'mm'?
48 | memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
| ^~~~
include/trace/perf.h:51:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
51 | { assign; } \
| ^~~~~~
include/trace/perf.h:67:23: note: in expansion of macro 'PARAMS'
67 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
40 | DECLARE_EVENT_CLASS(name, \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
..
vim +818 kernel/panic.c
bd89bb29a01503 Arjan van de Ven 2008-11-28 807
2553b67a1fbe7b Josh Poimboeuf 2016-03-17 808 void __warn(const char *file, int line, void *caller, unsigned taint,
2553b67a1fbe7b Josh Poimboeuf 2016-03-17 809 struct pt_regs *regs, struct warn_args *args)
0f6f49a8cd0163 Linus Torvalds 2009-05-16 810 {
4833794db61c8c Thomas Gleixner 2024-08-20 811 nbcon_cpu_emergency_enter();
4833794db61c8c Thomas Gleixner 2024-08-20 812
de7edd31457b62 Steven Rostedt (Red Hat 2013-06-14 813) disable_trace_on_warning();
de7edd31457b62 Steven Rostedt (Red Hat 2013-06-14 814)
1d1c158ece6cb7 Ingo Molnar 2025-05-15 815 if (file) {
1d1c158ece6cb7 Ingo Molnar 2025-05-15 816 pr_warn("WARNING: %s:%d at %pS, CPU#%d: %s/%d\n",
1d1c158ece6cb7 Ingo Molnar 2025-05-15 817 file, line, caller,
1d1c158ece6cb7 Ingo Molnar 2025-05-15 @818 raw_smp_processor_id(), current->comm, current->pid);
1d1c158ece6cb7 Ingo Molnar 2025-05-15 819 } else {
1d1c158ece6cb7 Ingo Molnar 2025-05-15 820 pr_warn("WARNING: at %pS, CPU#%d: %s/%d\n",
1d1c158ece6cb7 Ingo Molnar 2025-05-15 821 caller,
1d1c158ece6cb7 Ingo Molnar 2025-05-15 822 raw_smp_processor_id(), current->comm, current->pid);
1d1c158ece6cb7 Ingo Molnar 2025-05-15 823 }
74853dba2f7a1a Arjan van de Ven 2008-11-28 824
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists