[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dfb52ed4-8f18-1489-e6b4-56180cfa5440@igalia.com>
Date: Fri, 22 Aug 2025 17:36:09 +0530
From: Bhupesh Sharma <bhsharma@...lia.com>
To: kernel test robot <lkp@...el.com>, Bhupesh <bhupesh@...lia.com>,
akpm@...ux-foundation.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
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, 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 v8 3/5] treewide: Replace 'get_task_comm()' with
'strscpy_pad()'
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@...el.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.
Powered by blists - more mailing lists