diff options
author | Frederic Barrat | 2019-11-21 14:49:17 +0100 |
---|---|---|
committer | Michael Ellerman | 2020-01-23 21:31:17 +1100 |
commit | 748ac391ab9acd8d7f3c93cbf3e63c773c0b2638 (patch) | |
tree | b0da649cab5343e9bb9cb7d460219ffa31f3e40f /drivers/misc/ocxl/Kconfig | |
parent | be1611e043de63948c21cc7dd27ea6798ffd6fa4 (diff) |
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
Diffstat (limited to 'drivers/misc/ocxl/Kconfig')
0 files changed, 0 insertions, 0 deletions