Hi Gary,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on iommu/next]
[also build test ERROR on v4.16 next-20180405]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Gary-R-Hook/iommu-Enable-debugfs-exposure-of-the-IOMMU/20180405-151608
base:   https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
config: x86_64-randconfig-s2-04060234 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers//iommu/amd_iommu_debugfs.c: In function 'amd_iommu_debugfs_setup':
>> drivers//iommu/amd_iommu_debugfs.c:31:11: error: implicit declaration of 
>> function 'iommu_debugfs_setup' [-Werror=implicit-function-declaration]
      d_top = iommu_debugfs_setup();
              ^~~~~~~~~~~~~~~~~~~
   drivers//iommu/amd_iommu_debugfs.c:31:9: warning: assignment makes pointer 
from integer without a cast [-Wint-conversion]
      d_top = iommu_debugfs_setup();
            ^
   cc1: some warnings being treated as errors

vim +/iommu_debugfs_setup +31 drivers//iommu/amd_iommu_debugfs.c

    20  
    21  void amd_iommu_debugfs_setup(struct amd_iommu *iommu)
    22  {
    23          char name[MAX_NAME_LEN + 1];
    24          struct dentry *d_top;
    25  
    26          if (!debugfs_initialized())
    27                  return;
    28  
    29          mutex_lock(&amd_iommu_debugfs_lock);
    30          if (!amd_iommu_debugfs) {
  > 31                  d_top = iommu_debugfs_setup();

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to