* Re: [PATCH v8 3/5] treewide: Replace 'get_task_comm()' with 'strscpy_pad()'
[not found] <20250821102152.323367-4-bhupesh@igalia.com>
@ 2025-08-22 3:59 ` kernel test robot
2025-08-22 12:06 ` Bhupesh Sharma
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-08-22 3:59 UTC (permalink / raw)
To: Bhupesh, akpm
Cc: llvm, oe-kbuild-all, bhupesh, kernel-dev, linux-kernel, bpf,
linux-perf-users, linux-fsdevel, linux-mm, oliver.sang, lkp,
laoar.shao, pmladek, rostedt, mathieu.desnoyers, arnaldo.melo,
alexei.starovoitov, andrii.nakryiko, mirq-linux, peterz, willy,
david, viro, keescook, ebiederm, brauner, jack, mingo, juri.lelli,
bsegall, mgorman
Hi Bhupesh,
kernel test robot noticed the following build errors:
[auto build test ERROR on 5303936d609e09665deda94eaedf26a0e5c3a087]
url: https://github.com/intel-lab-lkp/linux/commits/Bhupesh/exec-Remove-obsolete-comments/20250821-182426
base: 5303936d609e09665deda94eaedf26a0e5c3a087
patch link: https://lore.kernel.org/r/20250821102152.323367-4-bhupesh%40igalia.com
patch subject: [PATCH v8 3/5] treewide: Replace 'get_task_comm()' with 'strscpy_pad()'
config: x86_64-buildonly-randconfig-001-20250822 (https://download.01.org/0day-ci/archive/20250822/202508221127.LiaxcbdW-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250822/202508221127.LiaxcbdW-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508221127.LiaxcbdW-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/panthor/panthor_sched.c:3420:2: error: call to undeclared function 'get_task_comm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3420 | get_task_comm(group->task_info.comm, task);
| ^
drivers/gpu/drm/panthor/panthor_sched.c:3420:2: note: did you mean 'get_task_mm'?
include/linux/sched/mm.h:151:26: note: 'get_task_mm' declared here
151 | extern struct mm_struct *get_task_mm(struct task_struct *task);
| ^
1 error generated.
vim +/get_task_comm +3420 drivers/gpu/drm/panthor/panthor_sched.c
de85488138247d Boris Brezillon 2024-02-29 3414
33b9cb6dcda252 Chia-I Wu 2025-07-17 3415 static void group_init_task_info(struct panthor_group *group)
33b9cb6dcda252 Chia-I Wu 2025-07-17 3416 {
33b9cb6dcda252 Chia-I Wu 2025-07-17 3417 struct task_struct *task = current->group_leader;
33b9cb6dcda252 Chia-I Wu 2025-07-17 3418
33b9cb6dcda252 Chia-I Wu 2025-07-17 3419 group->task_info.pid = task->pid;
33b9cb6dcda252 Chia-I Wu 2025-07-17 @3420 get_task_comm(group->task_info.comm, task);
33b9cb6dcda252 Chia-I Wu 2025-07-17 3421 }
33b9cb6dcda252 Chia-I Wu 2025-07-17 3422
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v8 3/5] treewide: Replace 'get_task_comm()' with 'strscpy_pad()'
2025-08-22 3:59 ` [PATCH v8 3/5] treewide: Replace 'get_task_comm()' with 'strscpy_pad()' kernel test robot
@ 2025-08-22 12:06 ` Bhupesh Sharma
0 siblings, 0 replies; 2+ messages in thread
From: Bhupesh Sharma @ 2025-08-22 12:06 UTC (permalink / raw)
To: kernel test robot, Bhupesh, akpm
Cc: llvm, oe-kbuild-all, kernel-dev, linux-kernel, bpf,
linux-perf-users, linux-fsdevel, linux-mm, oliver.sang,
laoar.shao, pmladek, rostedt, mathieu.desnoyers, arnaldo.melo,
alexei.starovoitov, andrii.nakryiko, mirq-linux, peterz, willy,
david, viro, keescook, ebiederm, brauner, jack, mingo, juri.lelli,
bsegall, mgorman
On 8/22/25 9:29 AM, kernel test robot wrote:
> Hi Bhupesh,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on 5303936d609e09665deda94eaedf26a0e5c3a087]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Bhupesh/exec-Remove-obsolete-comments/20250821-182426
> base: 5303936d609e09665deda94eaedf26a0e5c3a087
> patch link: https://lore.kernel.org/r/20250821102152.323367-4-bhupesh%40igalia.com
> patch subject: [PATCH v8 3/5] treewide: Replace 'get_task_comm()' with 'strscpy_pad()'
> config: x86_64-buildonly-randconfig-001-20250822 (https://download.01.org/0day-ci/archive/20250822/202508221127.LiaxcbdW-lkp@intel.com/config)
> compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250822/202508221127.LiaxcbdW-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@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202508221127.LiaxcbdW-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>>> drivers/gpu/drm/panthor/panthor_sched.c:3420:2: error: call to undeclared function 'get_task_comm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 3420 | get_task_comm(group->task_info.comm, task);
> | ^
> drivers/gpu/drm/panthor/panthor_sched.c:3420:2: note: did you mean 'get_task_mm'?
> include/linux/sched/mm.h:151:26: note: 'get_task_mm' declared here
> 151 | extern struct mm_struct *get_task_mm(struct task_struct *task);
> | ^
> 1 error generated.
>
>
> vim +/get_task_comm +3420 drivers/gpu/drm/panthor/panthor_sched.c
>
> de85488138247d Boris Brezillon 2024-02-29 3414
> 33b9cb6dcda252 Chia-I Wu 2025-07-17 3415 static void group_init_task_info(struct panthor_group *group)
> 33b9cb6dcda252 Chia-I Wu 2025-07-17 3416 {
> 33b9cb6dcda252 Chia-I Wu 2025-07-17 3417 struct task_struct *task = current->group_leader;
> 33b9cb6dcda252 Chia-I Wu 2025-07-17 3418
> 33b9cb6dcda252 Chia-I Wu 2025-07-17 3419 group->task_info.pid = task->pid;
> 33b9cb6dcda252 Chia-I Wu 2025-07-17 @3420 get_task_comm(group->task_info.comm, task);
> 33b9cb6dcda252 Chia-I Wu 2025-07-17 3421 }
> 33b9cb6dcda252 Chia-I Wu 2025-07-17 3422
>
Ok, let me check the same and fix it in v9.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-22 12:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250821102152.323367-4-bhupesh@igalia.com>
2025-08-22 3:59 ` [PATCH v8 3/5] treewide: Replace 'get_task_comm()' with 'strscpy_pad()' kernel test robot
2025-08-22 12:06 ` Bhupesh Sharma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox