lkml.org 
[lkml]   [2021]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/PCI: Fix compile errors when CONFIG_PCI is disabled
On Mon, Oct 25, 2021 at 12:50:19PM +0300, Mika Westerberg wrote:
> On Wed, Oct 20, 2021 at 12:21:02PM +0200, Hans de Goede wrote:
> > arch/x86/include/asm/pci_x86.h uses a number of data -types and defines
> > without including the headers which define these.
> >
> > Instead so far it has been relying on files including it including the
> > necessary headers first.
> >
> > Recently a include <asm/pci_x86.h> was added to arch/x86/kernel/resource.c
> > which does not include the necessary headers first.
> >
> > Add the missing includes to arch/x86/include/asm/pci_x86.h to fix the
> > compile errors (with certain .config-s) when it is included from
> > arch/x86/kernel/resource.c.
> >
> > Fixes: f10507a66e36 ("x86/PCI: Ignore E820 reservations for bridge windows on newer systems")
> > Reported-by: kernel test robot <lkp@intel.com>
> > Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>
> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>

IIRC, this was squashed into the Fixes: patch:

https://lore.kernel.org/r/20211020211455.GA2641031@bhelgaas

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2021-10-25 12:03    [W:0.057 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site