tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
debugfs_cleanup
head:   ef50c0149ff6aa510790d31eb3ffd5a0d2249727
commit: e166ed14a34253629572f1f31e1389c1d606c342 [46/47] media: c8sectpfe: no 
need to check return value of debugfs_create functions
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 7.4.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout e166ed14a34253629572f1f31e1389c1d606c342
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=ia64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>

All errors (new ones prefixed by >>):

   drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c: In function 
'c8sectpfe_debugfs_init':
>> drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c:237:48: error: 
>> 'root' undeclared (first use in this function); did you mean 'ror8'?
     debugfs_create_regset32("registers", S_IRUGO, root, fei->regset);
                                                   ^~~~
                                                   ror8
   drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c:237:48: note: each 
undeclared identifier is reported only once for each function it appears in

vim +237 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c

   225  
   226  void c8sectpfe_debugfs_init(struct c8sectpfei *fei)
   227  {
   228          fei->regset =  devm_kzalloc(fei->dev, sizeof(*fei->regset), 
GFP_KERNEL);
   229          if (!fei->regset)
   230                  return;
   231  
   232          fei->regset->regs = fei_sys_regs;
   233          fei->regset->nregs = ARRAY_SIZE(fei_sys_regs);
   234          fei->regset->base = fei->io;
   235  
   236          fei->root = debugfs_create_dir("c8sectpfe", NULL);
 > 237          debugfs_create_regset32("registers", S_IRUGO, root, 
 > fei->regset);
   238  }
   239  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to