Re: [PATCH 3/3] powerpc/pcidn: Warn when sriov pci_dn management is used incorrectly

2019-08-22 Thread Sam Bobroff
On Wed, Aug 21, 2019 at 04:26:55PM +1000, Oliver O'Halloran wrote: > These functions can only be used on a SR-IOV capable physical function and > they're only called in pcibios_sriov_enable / disable. Make them emit a > warning in the future if they're used incorrectly and remove the dead > code

[PATCH 3/3] powerpc/pcidn: Warn when sriov pci_dn management is used incorrectly

2019-08-21 Thread Oliver O'Halloran
These functions can only be used on a SR-IOV capable physical function and they're only called in pcibios_sriov_enable / disable. Make them emit a warning in the future if they're used incorrectly and remove the dead code that checks if the device is a VF. Signed-off-by: Oliver O'Halloran ---