[PATCH v2 02/12] ring-buffer: Introducing ring-buffer remote

kernel test robot lkp at intel.com
Thu Jan 9 08:45:19 PST 2025


Hi Vincent,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780]

url:    https://github.com/intel-lab-lkp/linux/commits/Vincent-Donnefort/ring-buffer-Check-for-empty-ring-buffer-with-rb_num_of_entries/20250108-200217
base:   09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780
patch link:    https://lore.kernel.org/r/20250108114536.627715-3-vdonnefort%40google.com
patch subject: [PATCH v2 02/12] ring-buffer: Introducing ring-buffer remote
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20250110/202501100025.WNnMyW13-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250110/202501100025.WNnMyW13-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501100025.WNnMyW13-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/trace/ring_buffer.c:2535: warning: Function parameter or struct member 'remote' not described in '__ring_buffer_alloc_remote'
>> kernel/trace/ring_buffer.c:2535: warning: Function parameter or struct member 'key' not described in '__ring_buffer_alloc_remote'


vim +2535 kernel/trace/ring_buffer.c

  2528	
  2529	/**
  2530	 * __ring_buffer_alloc_remote
  2531	 *
  2532	 */
  2533	struct trace_buffer *__ring_buffer_alloc_remote(struct ring_buffer_remote *remote,
  2534							struct lock_class_key *key)
> 2535	{
  2536		return alloc_buffer(0, 0, 0, 0, 0, key, remote);
  2537	}
  2538	

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



More information about the linux-arm-kernel mailing list