Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [bvanassche:thread-safety 27/28] kernel/trace/trace_printk.c:302:10: error: use of undeclared identifier 'btrace_mutex'
@ 2025-02-01  7:50 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-01  7:50 UTC (permalink / raw)
  To: Bart Van Assche; +Cc: llvm, oe-kbuild-all

tree:   https://github.com/bvanassche/linux thread-safety
head:   edb8f58988e23eb5e665bf55625f2461a878483b
commit: 764be7505819829512a767795ea7063f2fd2e132 [27/28] treewide: Annotate all struct mutex users
config: i386-buildonly-randconfig-001-20250201 (https://download.01.org/0day-ci/archive/20250201/202502011533.SFzSsMBw-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250201/202502011533.SFzSsMBw-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/202502011533.SFzSsMBw-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/trace/trace_printk.c:302:10: error: use of undeclared identifier 'btrace_mutex'
     302 |         ACQUIRE(btrace_mutex)
         |                 ^
   kernel/trace/trace_printk.c:352:10: error: use of undeclared identifier 'btrace_mutex'
     352 |         RELEASE(btrace_mutex)
         |                 ^
   2 errors generated.


vim +/btrace_mutex +302 kernel/trace/trace_printk.c

   299	
   300	static void *
   301	t_start(struct seq_file *m, loff_t *pos)
 > 302		ACQUIRE(btrace_mutex)
   303	{
   304		format_mod_start();
   305		return find_next(NULL, pos);
   306	}
   307	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-01  7:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-01  7:50 [bvanassche:thread-safety 27/28] kernel/trace/trace_printk.c:302:10: error: use of undeclared identifier 'btrace_mutex' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox