powerpc/pci: Fix SRIOV not building without EEH enabled
Michael Ellerman
mpe at ellerman.id.au
Tue Jun 21 22:27:19 AEST 2016
On Fri, 2016-17-06 at 05:25:17 UTC, Russell Currey wrote:
> On Book3E CPUs (and possibly other configs), it is possible to have SRIOV
> (CONFIG_PCI_IOV) set without CONFIG_EEH. The SRIOV code does not check
> for this, and if EEH is disabled, pci_dn.c fails to build.
>
> Fix this by gating the EEH-specific code in the SRIOV implementation
> behind CONFIG_EEH.
>
> Fixes: 39218cd0 ("powerpc/eeh: EEH device for VF")
> Reported-by: Michael Ellerman <mpe at ellerman.id.au>
> Signed-off-by: Russell Currey <ruscur at russell.cc>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/fb36e90736938d50fdaa1be7af
cheers
More information about the Linuxppc-dev
mailing list