Re: [PATCH v9 6/7] prctl: Add support for long user thread names
From: kernel test robot
Date: Sun Dec 06 2026 - 00:27:21 EST
Hi André,
kernel test robot noticed the following build errors:
[auto build test ERROR on 1f9c740f15dae336d5dea23faf51e451e7e9f55b]
url: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/treewide-Get-rid-of-get_task_comm/20261205-223915
base: 1f9c740f15dae336d5dea23faf51e451e7e9f55b
patch link: https://lore.kernel.org/r/20261205-tonyk-long_name-v9-6-98244983d8b3%40igalia.com
patch subject: [PATCH v9 6/7] prctl: Add support for long user thread names
config: arm64-randconfig-1000-20261206 (https://download.01.org/0day-ci/archive/20261206/20261206132123.M3PJzQtF-lkp@xxxxxxxxx/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 6848dd71890aaccc282832edd53a6091230d6bb3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261206/20261206132123.M3PJzQtF-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261206132123.M3PJzQtF-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from arch/arm64/kernel/asm-offsets.c:11:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:14:
In file included from include/linux/resource_ext.h:11:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
In file included from include/linux/mmzone.h:22:
In file included from include/linux/mm_types.h:11:
In file included from include/linux/rbtree.h:24:
In file included from include/linux/rcupdate.h:27:
>> include/linux/sched.h:326:2: error: expected identifier
326 | TASK_COMM_EXT_LEN = 64,
| ^
include/uapi/linux/prctl.h:62:27: note: expanded from macro 'TASK_COMM_EXT_LEN'
62 | #define TASK_COMM_EXT_LEN 64
| ^
In file included from arch/arm64/kernel/asm-offsets.c:11:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:15:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/arm64/include/asm/elf.h:133:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:7:
include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/arm64/kernel/asm-offsets.c:11:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:15:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/arm64/include/asm/elf.h:133:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:7:
include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/arm64/kernel/asm-offsets.c:11:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:15:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/arm64/include/asm/elf.h:133:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:7:
include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
99 | set->sig[1] | set->sig[0]) == 0;
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/arm64/kernel/asm-offsets.c:11:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:15:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/arm64/include/asm/elf.h:133:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:7:
include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
101 | return (set->sig[1] | set->sig[0]) == 0;
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/arm64/kernel/asm-offsets.c:11:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:15:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
vim +326 include/linux/sched.h
d6c23bb3a2ad2f Peter Zijlstra 2021-06-11 319
3087c61ed2c485 Yafang Shao 2022-01-19 320 /*
3087c61ed2c485 Yafang Shao 2022-01-19 321 * Define the task command name length as enum, then it can be visible to
3087c61ed2c485 Yafang Shao 2022-01-19 322 * BPF programs.
3087c61ed2c485 Yafang Shao 2022-01-19 323 */
3087c61ed2c485 Yafang Shao 2022-01-19 324 enum {
3087c61ed2c485 Yafang Shao 2022-01-19 325 TASK_COMM_LEN = 16,
bd37df8d916310 André Almeida 2026-12-05 @326 TASK_COMM_EXT_LEN = 64,
3087c61ed2c485 Yafang Shao 2022-01-19 327 };
^1da177e4c3f41 Linus Torvalds 2005-04-16 328
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki