Re: [PATCH 10/11] pci/hotplug/pnv-php: Wrap warnings in macro

2019-09-26 Thread Andrew Donnellan
On 9/9/19 5:45 pm, Frederic Barrat wrote: An opencapi slot doesn't have an associated bridge device. It's not needed for operation, but any warning is displayed through pci_warn() which uses the pci_dev struct of the assocated bridge device. So wrap those warning so that a different trace mechani

Re: [PATCH 10/11] pci/hotplug/pnv-php: Wrap warnings in macro

2019-09-09 Thread Alastair D'Silva
On Mon, 2019-09-09 at 17:45 +0200, Frederic Barrat wrote: > An opencapi slot doesn't have an associated bridge device. It's not > needed for operation, but any warning is displayed through pci_warn() > which uses the pci_dev struct of the assocated bridge device. So wrap > those warning so that a d

[PATCH 10/11] pci/hotplug/pnv-php: Wrap warnings in macro

2019-09-09 Thread Frederic Barrat
An opencapi slot doesn't have an associated bridge device. It's not needed for operation, but any warning is displayed through pci_warn() which uses the pci_dev struct of the assocated bridge device. So wrap those warning so that a different trace mechanism can be used if it's an opencapi slot. Si