linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux 4.10-rc4 compile error
@ 2020-11-16 14:32 Harald Arnesen
  2020-11-16 19:58 ` Thomas Gleixner
  0 siblings, 1 reply; 2+ messages in thread
From: Harald Arnesen @ 2020-11-16 14:32 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Linux Kernel Mailing List

I get the following compile error, which reverting commit
ff828729be446b86957f7c294068758231cd2183 fixes (and the resulting kernel
boots fine).

$ make
...
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND  objtool
  CHK     include/generated/compile.h
  CHK     kernel/kheaders_data.tar.xz
  CC      drivers/iommu/intel/dmar.o
drivers/iommu/intel/dmar.c: In function 'vf_inherit_msi_domain':
drivers/iommu/intel/dmar.c:338:59: error: 'struct pci_dev' has no member
named 'physfn'; did you mean 'is_physfn'?
  338 |  dev_set_msi_domain(&pdev->dev,
dev_get_msi_domain(&pdev->physfn->dev));
      |                                                           ^~~~~~
      |                                                           is_physfn
make[3]: *** [scripts/Makefile.build:283: drivers/iommu/intel/dmar.o]
Error 1
make[2]: *** [scripts/Makefile.build:500: drivers/iommu/intel] Error 2
make[1]: *** [scripts/Makefile.build:500: drivers/iommu] Error 2
make: *** [Makefile:1799: drivers] Error 2

-- 
Hilsen Harald

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Linux 4.10-rc4 compile error
  2020-11-16 14:32 Linux 4.10-rc4 compile error Harald Arnesen
@ 2020-11-16 19:58 ` Thomas Gleixner
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2020-11-16 19:58 UTC (permalink / raw)
  To: Harald Arnesen; +Cc: Linux Kernel Mailing List

On Mon, Nov 16 2020 at 15:32, Harald Arnesen wrote:
> I get the following compile error, which reverting commit
> ff828729be446b86957f7c294068758231cd2183 fixes (and the resulting kernel
> boots fine).
>   CC      drivers/iommu/intel/dmar.o
> drivers/iommu/intel/dmar.c: In function 'vf_inherit_msi_domain':
> drivers/iommu/intel/dmar.c:338:59: error: 'struct pci_dev' has no member
> named 'physfn'; did you mean 'is_physfn'?
>   338 |  dev_set_msi_domain(&pdev->dev,
> dev_get_msi_domain(&pdev->physfn->dev));

I queued a fix already:

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/urgent&id=8986f223bd777a73119f5d593c15b4d630ff49bb

Sorry for the wreckage.

Thanks,

        tglx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-16 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 14:32 Linux 4.10-rc4 compile error Harald Arnesen
2020-11-16 19:58 ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).