Re: [v2 PATCH 1/1] tracing: Add bitmask-list option for human-readable bitmask display

From: kernel test robot
Date: Thu Dec 25 2025 - 21:54:40 EST


Hi Aaron,

kernel test robot noticed the following build errors:

[auto build test ERROR on trace/for-next]
[also build test ERROR on linus/master v6.19-rc2 next-20251219]
[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/Aaron-Tomlin/tracing-Add-bitmask-list-option-for-human-readable-bitmask-display/20251225-160415
base: https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace for-next
patch link: https://lore.kernel.org/r/20251225080216.2196411-2-atomlin%40atomlin.com
patch subject: [v2 PATCH 1/1] tracing: Add bitmask-list option for human-readable bitmask display
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20251226/202512261011.nLEYLg1y-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251226/202512261011.nLEYLg1y-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/202512261011.nLEYLg1y-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from include/linux/trace_events.h:7,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:95,
from include/linux/syscalls_api.h:1,
from kernel/sched/sched.h:61,
from kernel/sched/rq-offsets.c:5:
>> include/linux/trace_seq.h:145:1: error: redefinition of 'trace_seq_bitmask'
145 | trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp,
| ^~~~~~~~~~~~~~~~~
include/linux/trace_seq.h:139:1: note: previous definition of 'trace_seq_bitmask' with type 'void(struct trace_seq *, const long unsigned int *, int)'
139 | trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp,
| ^~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:182: kernel/sched/rq-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1299: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.


vim +/trace_seq_bitmask +145 include/linux/trace_seq.h

143
144 static inline void
> 145 trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp,
146 int nmaskbits)
147 {
148 }
149

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki