[driver-core:debugfs_cleanup 185/194] drivers/iommu/omap-iommu-debug.c:253:45: error: 'attrregs_fops' undeclared; did you mean 'regs_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:   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@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: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

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