drivers/parisc/sba_iommu.c:124:31: warning: 'proc_runway_root' defined but not used
From: kernel test robot
Date: Tue Aug 29 2023 - 20:48:55 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d68b4b6f307d155475cce541f2aee938032ed22e
commit: 77e0ddf097d6d4ceaf898e088b133b99e0a97fa0 parisc: ccio-dma: Create private runway procfs root entry
date: 33 hours ago
config: parisc-randconfig-r035-20230830 (https://download.01.org/0day-ci/archive/20230830/202308300800.Jod4sHzM-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230830/202308300800.Jod4sHzM-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/202308300800.Jod4sHzM-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/parisc/sba_iommu.c:124:31: warning: 'proc_runway_root' defined but not used [-Wunused-variable]
124 | static struct proc_dir_entry *proc_runway_root __ro_after_init;
| ^~~~~~~~~~~~~~~~
vim +/proc_runway_root +124 drivers/parisc/sba_iommu.c
123
> 124 static struct proc_dir_entry *proc_runway_root __ro_after_init;
125 struct proc_dir_entry *proc_mckinley_root __ro_after_init;
126
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki