Re: [PATCH 2/3] PCI: Define pr_fmt() and use pr_*() instead of printk()

2019-05-07 Thread Bjorn Helgaas
Hi Mohan, On Sat, Apr 20, 2019 at 07:05:30AM +0300, Mohan Kumar wrote: > Define a pr_fmt() macro that convert all of the explicit printk() calls > into corresponding pr_*(). I dropped the pr_fmt() parts of this because there's really no benefit: we move the prefix from the actual printk() to the

[PATCH 2/3] PCI: Define pr_fmt() and use pr_*() instead of printk()

2019-04-19 Thread Mohan Kumar
Define a pr_fmt() macro that convert all of the explicit printk() calls into corresponding pr_*(). Signed-off-by: Mohan Kumar --- drivers/pci/bus.c | 5 - drivers/pci/pci-stub.c | 11 +-- drivers/pci/pci-sysfs.c | 3 ++- drivers/pci/pci.c | 5 +++-- drivers/pci/quirks