Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589931

Re: [PATCH 1/2] iommu/vt-d: Fix crash when accessing VT-d sysfs entries

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] iommu/vt-d: Fix crash when accessing VT-d sysfs entries
Date 2017-03-01 02:30 +0100
Message-ID <tg1fz-3Wb-9@gated-at.bofh.it> (permalink)
References <tfQNc-5z5-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Joerg,

[auto build test ERROR on iommu/next]
[also build test ERROR on v4.10 next-20170228]
[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/Joerg-Roedel/iommu-vt-d-Fix-crash-when-accessing-VT-d-sysfs-entries/20170301-074355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
config: x86_64-randconfig-s1-03010801 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/i915_drv.h:41,
                    from drivers/gpu/drm/i915/i915_drv.c:48:
   include/linux/intel-iommu.h: In function 'dev_to_intel_iommu':
   include/linux/intel-iommu.h:457: error: 'struct iommu_device' has no member named 'dev'
>> include/linux/intel-iommu.h:457: error: type defaults to 'int' in declaration of '__mptr'
   cc1: warnings being treated as errors
>> include/linux/intel-iommu.h:457: error: initialization from incompatible pointer type
   include/linux/intel-iommu.h:457: error: 'struct iommu_device' has no member named 'dev'

vim +457 include/linux/intel-iommu.h

   451		if (!ecap_coherent(iommu->ecap))
   452			clflush_cache_range(addr, size);
   453	}
   454	
   455	static inline struct intel_iommu *dev_to_intel_iommu(struct device *dev)
   456	{
 > 457		return container_of(dev, struct intel_iommu, iommu.dev);
   458	}
   459	
   460	extern struct dmar_drhd_unit * dmar_find_matched_drhd_unit(struct pci_dev *dev);

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] iommu/vt-d: Fix crash when accessing VT-d sysfs entries Joerg Roedel <joro@8bytes.org> - 2017-02-28 15:20 +0100
  [PATCH 2/2] iommu/amd: Fix crash when accessing AMD-Vi sysfs entries Joerg Roedel <joro@8bytes.org> - 2017-02-28 15:20 +0100
  Re: [PATCH 1/2] iommu/vt-d: Fix crash when accessing VT-d sysfs  entries kbuild test robot <lkp@intel.com> - 2017-03-01 01:40 +0100
    Re: [PATCH 1/2] iommu/vt-d: Fix crash when accessing VT-d sysfs  entries Joerg Roedel <jroedel@suse.de> - 2017-03-01 11:40 +0100
  Re: [PATCH 1/2] iommu/vt-d: Fix crash when accessing VT-d sysfs  entries kbuild test robot <lkp@intel.com> - 2017-03-01 02:30 +0100

csiph-web