Skip to contentSkip to conversation

drivers/parisc/sba_iommu.c:124:31: warning: 'proc_runway_root' defined but not used

DISCUSSION kernel test robot 1 participant 1 message Aug 30, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
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/[email protected]/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230830/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

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

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