Frederic Barrat 748ac391ab pci/hotplug/pnv-php: Wrap warnings in macro
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.

Reviewed-by: Alastair D'Silva <alastair@d-silva.org>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191121134918.7155-11-fbarrat@linux.ibm.com
2020-01-23 21:31:17 +11:00
..
2018-09-18 17:52:15 -05:00
2019-08-30 14:00:34 -05:00
2019-08-30 14:00:34 -05:00
2019-08-30 14:00:34 -05:00
2018-02-01 11:40:07 -06:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-02-01 11:40:07 -06:00
2019-11-21 15:06:47 -06:00
2018-02-06 09:59:40 -08:00
2019-12-03 13:58:22 -08:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00
2018-02-01 11:40:07 -06:00
2018-09-18 17:52:15 -05:00
2018-09-18 17:52:15 -05:00