[driver-core:debugfs_cleanup 185/194] drivers//iommu/omap-iommu-debug.c:254:44: error: 'rtlb_fops' undeclared; did you mean 'tlb_fops'?
kbuild test robot
lkp at intel.com
Fri Jul 5 10:58:11 UTC 2019
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 at intel.com>
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, ®s_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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 70943 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190705/68a0b98a/attachment-0001.bin>
More information about the devel
mailing list