lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202512240709.cPAuuxFj-lkp@intel.com>
Date: Wed, 24 Dec 2025 07:26:10 +0800
From: kernel test robot <lkp@...el.com>
To: Aaron Tomlin <atomlin@...mlin.com>, rostedt@...dmis.org,
	mhiramat@...nel.org, mark.rutland@....com,
	mathieu.desnoyers@...icios.com, corbet@....net
Cc: oe-kbuild-all@...ts.linux.dev, atomlin@...mlin.com, sean@...e.io,
	linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
	linux-doc@...r.kernel.org
Subject: Re: [PATCH] tracing: Add bitmask-list option for human-readable
 bitmask display

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/20251223-120923
base:   https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace for-next
patch link:    https://lore.kernel.org/r/20251223035622.2084081-1-atomlin%40atomlin.com
patch subject: [PATCH] tracing: Add bitmask-list option for human-readable bitmask display
config: i386-randconfig-141-20251224 (https://download.01.org/0day-ci/archive/20251224/202512240709.cPAuuxFj-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251224/202512240709.cPAuuxFj-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/202512240709.cPAuuxFj-lkp@intel.com/

All errors (new ones prefixed by >>):

   kernel/trace/trace_output.c: In function 'trace_print_bitmask_seq':
   kernel/trace/trace_output.c:202:40: error: implicit declaration of function 'trace_get_global_array'; did you mean 'ftrace_init_global_array_ops'? [-Wimplicit-function-declaration]
     202 |         const struct trace_array *tr = trace_get_global_array();
         |                                        ^~~~~~~~~~~~~~~~~~~~~~
         |                                        ftrace_init_global_array_ops
>> kernel/trace/trace_output.c:202:40: error: initialization of 'const struct trace_array *' from 'int' makes pointer from integer without a cast [-Wint-conversion]


vim +202 kernel/trace/trace_output.c

   196	
   197	const char *
   198	trace_print_bitmask_seq(struct trace_seq *p, void *bitmask_ptr,
   199				unsigned int bitmask_size)
   200	{
   201		const char *ret = trace_seq_buffer_ptr(p);
 > 202		const struct trace_array *tr = trace_get_global_array();
   203		bool show_bitmask_list = tr->trace_flags &
   204					 TRACE_ITER(BITMASK_LIST);
   205	
   206		trace_seq_bitmask(p, bitmask_ptr, bitmask_size * 8,
   207				  show_bitmask_list);
   208		trace_seq_putc(p, 0);
   209	
   210		return ret;
   211	}
   212	EXPORT_SYMBOL_GPL(trace_print_bitmask_seq);
   213	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ