[driver-core:debugfs_cleanup 185/194] drivers/iommu/omap-iommu-debug.c:253:45: error: 'attrregs_fops' undeclared; did you mean 'regs_fops'?
kbuild test robot
lkp at intel.com
Thu Jul 4 19:05:51 UTC 2019
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head: bf7e05dc3cda0560cd7addb1b5e2ee85ef1b0650
commit: 94fdb9bf360a34742797679406ff310981663ec0 [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 94fdb9bf360a34742797679406ff310981663ec0
# 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:253:45: error: 'attrregs_fops' undeclared (first use in this function); did you mean 'regs_fops'?
debugfs_create_file("regs", 0400, d, obj, &attrregs_fops);
^~~~~~~~~~~~~
regs_fops
drivers/iommu/omap-iommu-debug.c:253:45: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/iommu/omap-iommu-debug.c:254:44: error: 'attrtlb_fops' undeclared (first use in this function); did you mean 'attrregs_fops'?
debugfs_create_file("tlb", 0400, d, obj, &attrtlb_fops);
^~~~~~~~~~~~
attrregs_fops
>> drivers/iommu/omap-iommu-debug.c:255:50: error: 'attrpagetable_fops' undeclared (first use in this function); did you mean 'pagetable_fops'?
debugfs_create_file("pagetable", 0400, d, obj, &attrpagetable_fops);
^~~~~~~~~~~~~~~~~~
pagetable_fops
vim +253 drivers/iommu/omap-iommu-debug.c
---
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: 70937 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190705/af3fe340/attachment-0001.bin>
More information about the devel
mailing list