diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2019-02-14 19:48:14 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-21 08:10:14 -0500 |
commit | c8f02f2108136a6218326fbcd4034b985849667c (patch) | |
tree | ffc738bae32bec6c19486f5fc519be6958e5f872 | |
parent | 5ca85ae6318df34874999e3fd1760a88208e2a8e (diff) |
powerpc/eeh_cache: Bump log level of eeh_addr_cache_print()
To use this function at all #define DEBUG needs to be set in eeh_cache.c.
Considering that printing at pr_debug is probably not all that useful since
it adds the additional hurdle of requiring you to enable the debug print if
dynamic_debug is in use so this patch bumps it to pr_info.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | arch/powerpc/kernel/eeh_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/eeh_cache.c b/arch/powerpc/kernel/eeh_cache.c index 5c5697cced41..9c68f0837385 100644 --- a/arch/powerpc/kernel/eeh_cache.c +++ b/arch/powerpc/kernel/eeh_cache.c | |||
@@ -114,7 +114,7 @@ static void eeh_addr_cache_print(struct pci_io_addr_cache *cache) | |||
114 | while (n) { | 114 | while (n) { |
115 | struct pci_io_addr_range *piar; | 115 | struct pci_io_addr_range *piar; |
116 | piar = rb_entry(n, struct pci_io_addr_range, rb_node); | 116 | piar = rb_entry(n, struct pci_io_addr_range, rb_node); |
117 | pr_debug("PCI: %s addr range %d [%pap-%pap]: %s\n", | 117 | pr_info("PCI: %s addr range %d [%pap-%pap]: %s\n", |
118 | (piar->flags & IORESOURCE_IO) ? "i/o" : "mem", cnt, | 118 | (piar->flags & IORESOURCE_IO) ? "i/o" : "mem", cnt, |
119 | &piar->addr_lo, &piar->addr_hi, pci_name(piar->pcidev)); | 119 | &piar->addr_lo, &piar->addr_hi, pci_name(piar->pcidev)); |
120 | cnt++; | 120 | cnt++; |