[driver-core:debugfs_cleanup 185/194] drivers//iommu/omap-iommu-debug.c:254:44: error: 'rtlb_fops' undeclared; did you mean 'tlb_fops'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head:   8c54807642d011014627c0187798950d30c3abf4
commit: aab8ab1a5aaec133532b9fba30b1da24c08dbac3 [185/194] omap-iommu: no need to check return value of debugfs_create functions
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-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 aab8ab1a5aaec133532b9fba30b1da24c08dbac3
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   drivers//iommu/omap-iommu-debug.c: In function 'omap_iommu_debugfs_add':
>> drivers//iommu/omap-iommu-debug.c:254:44: error: 'rtlb_fops' undeclared (first use in this function); did you mean 'tlb_fops'?
     debugfs_create_file("tlb", 0400, d, obj, &rtlb_fops);
                                               ^~~~~~~~~
                                               tlb_fops
   drivers//iommu/omap-iommu-debug.c:254:44: note: each undeclared identifier is reported only once for each function it appears in

vim +254 drivers//iommu/omap-iommu-debug.c

   241	
   242	void omap_iommu_debugfs_add(struct omap_iommu *obj)
   243	{
   244		struct dentry *d;
   245	
   246		if (!iommu_debug_root)
   247			return;
   248	
   249		d = debugfs_create_dir(obj->name, iommu_debug_root);
   250		obj->debug_dir = d;
   251	
   252		debugfs_create_u32("nr_tlb_entries", 0400, d, &obj->nr_tlb_entries);
   253		debugfs_create_file("regs", 0400, d, obj, &regs_fops);
 > 254		debugfs_create_file("tlb", 0400, d, obj, &rtlb_fops);
   255		debugfs_create_file("pagetable", 0400, d, obj, &pagetable_fops);
   256	}
   257	

---
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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux