[lkml]   [2018]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 2/2] iommu/amd: Add basic debugfs infrastructure for AMD IOMMU
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]

base: next
config: x86_64-randconfig-s2-04060234 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
# 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

21 void amd_iommu_debugfs_setup(struct amd_iommu *iommu)
22 {
23 char name[MAX_NAME_LEN + 1];
24 struct dentry *d_top;
26 if (!debugfs_initialized())
27 return;
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 Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2018-04-05 21:58    [W:0.054 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site