[PATCH] powerpc/pci: Fix build with PCI_IOV=y and EEH=n

Russell Currey ruscur at russell.cc
Tue Jul 5 14:30:15 AEST 2016


On Tue, 2016-07-05 at 14:13 +1000, Michael Ellerman wrote:
> Despite attempting to fix this in commit fb36e9073693 ("powerpc/pci: Fix
> SRIOV not building without EEH enabled"), the build is still broken when
> PCI_IOV=y and EEH=n (eg. g5_defconfig with PCI_IOV=y):
> 
>   arch/powerpc/kernel/pci_dn.c: In function ‘remove_dev_pci_data’:
>   arch/powerpc/kernel/pci_dn.c:230:18: error: unused variable ‘edev’
> 
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> ---

Mistakes were made.

Acked-by: Russell Currey <ruscur at russell.cc>


More information about the Linuxppc-dev mailing list