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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202601202104.uDfihrMe-lkp@intel.com>
Date: Tue, 20 Jan 2026 21:47:56 +0800
From: kernel test robot <lkp@...el.com>
To: "luo.liu" <luo.liu.linux@....com>, sakari.ailus@...ux.intel.com,
	mchehab@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, linux-media@...r.kernel.org,
	linux-kernel@...r.kernel.org, luo.liu.linux@....com
Subject: Re: [PATCH] v4l2-async: add debugfs under CONFIG_DEBUG_FS

Hi luo.liu,

kernel test robot noticed the following build warnings:

[auto build test WARNING on d08c85ac8894995d4b0d8fb48d2f6a3e53cd79ab]

url:    https://github.com/intel-lab-lkp/linux/commits/luo-liu/v4l2-async-add-debugfs-under-CONFIG_DEBUG_FS/20260120-150913
base:   d08c85ac8894995d4b0d8fb48d2f6a3e53cd79ab
patch link:    https://lore.kernel.org/r/20260120065710.1120819-1-luo.liu.linux%40163.com
patch subject: [PATCH] v4l2-async: add debugfs under CONFIG_DEBUG_FS
config: powerpc-randconfig-002-20260120 (https://download.01.org/0day-ci/archive/20260120/202601202104.uDfihrMe-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260120/202601202104.uDfihrMe-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/202601202104.uDfihrMe-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/linux/debugfs.h:16,
                    from drivers/media/v4l2-core/v4l2-async.c:8:
>> drivers/media/v4l2-core/v4l2-async.c:967:23: warning: 'pending_subdevs_fops' defined but not used [-Wunused-const-variable=]
     967 | DEFINE_SHOW_ATTRIBUTE(pending_subdevs);
         |                       ^~~~~~~~~~~~~~~
   include/linux/seq_file.h:213:37: note: in definition of macro 'DEFINE_SHOW_ATTRIBUTE'
     213 | static const struct file_operations __name ## _fops = {   \
         |                                     ^~~~~~


vim +/pending_subdevs_fops +967 drivers/media/v4l2-core/v4l2-async.c

517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  949  
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  950  static int pending_subdevs_show(struct seq_file *s, void *data)
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  951  {
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  952  	struct v4l2_async_notifier *notif;
adb2dcd5f2d49d3 Sakari Ailus    2023-02-16  953  	struct v4l2_async_connection *asc;
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  954  
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  955  	mutex_lock(&list_lock);
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  956  
b6d42c35c03dc1a Sakari Ailus    2023-02-22  957  	list_for_each_entry(notif, &notifier_list, notifier_entry) {
3c8c153914812a9 Sakari Ailus    2021-03-05  958  		seq_printf(s, "%s:\n", v4l2_async_nf_name(notif));
9bf19fbf0c8bc43 Sakari Ailus    2023-04-18  959  		list_for_each_entry(asc, &notif->waiting_list, asc_entry)
adb2dcd5f2d49d3 Sakari Ailus    2023-02-16  960  			print_waiting_match(s, &asc->match);
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  961  	}
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  962  
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  963  	mutex_unlock(&list_lock);
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  964  
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  965  	return 0;
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  966  }
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08 @967  DEFINE_SHOW_ATTRIBUTE(pending_subdevs);
517fd2b6a058bc4 Ezequiel Garcia 2021-01-08  968  

-- 
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