tree:   
https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/driver-core.git 
debugfs_cleanup
head:   e647f5cb848a5cb522516fd5ca67d89d6b12bdb2
commit: 7fb9d02c8360513538f1de583da9174490553654 [187/193] debugfs: remove 
return value of debugfs_create_u32()
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 7fb9d02c8360513538f1de583da9174490553654
        # 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 <l...@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:264:4: error: void value not ignored as it 
>> ought to be
     d = debugfs_create_u32("nr_tlb_entries", 0400, obj->debug_dir,
       ^

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

14e0e6796 arch/arm/plat-omap/iommu-debug.c Hiroshi DOYU       2009-08-28  252  
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  253  
void omap_iommu_debugfs_add(struct omap_iommu *obj)
14e0e6796 arch/arm/plat-omap/iommu-debug.c Hiroshi DOYU       2009-08-28  254  {
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  255   
struct dentry *d;
46451d622 drivers/iommu/omap-iommu-debug.c Ohad Ben-Cohen     2012-02-22  256  
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  257   
if (!iommu_debug_root)
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  258   
        return;
46451d622 drivers/iommu/omap-iommu-debug.c Ohad Ben-Cohen     2012-02-22  259  
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  260   
obj->debug_dir = debugfs_create_dir(obj->name, iommu_debug_root);
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  261   
if (!obj->debug_dir)
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  262   
        return;
46451d622 drivers/iommu/omap-iommu-debug.c Ohad Ben-Cohen     2012-02-22  263  
f18affbea drivers/iommu/omap-iommu-debug.c Geert Uytterhoeven 2018-01-02 @264   
d = debugfs_create_u32("nr_tlb_entries", 0400, obj->debug_dir,
f18affbea drivers/iommu/omap-iommu-debug.c Geert Uytterhoeven 2018-01-02  265   
                       &obj->nr_tlb_entries);
14e0e6796 arch/arm/plat-omap/iommu-debug.c Hiroshi DOYU       2009-08-28  266   
if (!d)
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  267   
        return;
14e0e6796 arch/arm/plat-omap/iommu-debug.c Hiroshi DOYU       2009-08-28  268  
14e0e6796 arch/arm/plat-omap/iommu-debug.c Hiroshi DOYU       2009-08-28  269   
DEBUG_ADD_FILE_RO(regs);
14e0e6796 arch/arm/plat-omap/iommu-debug.c Hiroshi DOYU       2009-08-28  270   
DEBUG_ADD_FILE_RO(tlb);
3ca5db072 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  271   
DEBUG_ADD_FILE_RO(pagetable);
14e0e6796 arch/arm/plat-omap/iommu-debug.c Hiroshi DOYU       2009-08-28  272  
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  273   
return;
46451d622 drivers/iommu/omap-iommu-debug.c Ohad Ben-Cohen     2012-02-22  274  
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  275  
err:
61c753526 drivers/iommu/omap-iommu-debug.c Suman Anna         2014-10-22  276   
debugfs_remove_recursive(obj->debug_dir);
46451d622 drivers/iommu/omap-iommu-debug.c Ohad Ben-Cohen     2012-02-22  277  }
46451d622 drivers/iommu/omap-iommu-debug.c Ohad Ben-Cohen     2012-02-22  278  

:::::: The code at line 264 was first introduced by commit
:::::: f18affbea8f7aebb235bfdaf3ad4c307aa5f3d64 iommu/omap: Fix 
debugfs_create_*() usage

:::::: TO: Geert Uytterhoeven <geert+rene...@glider.be>
:::::: CC: Joerg Roedel <jroe...@suse.de>

---
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