Re: [PATCH 3/5] pci: using pci_printk

From: Alexey Dobriyan
Date: Tue Sep 16 2008 - 06:19:02 EST


On Tue, Sep 16, 2008 at 01:52:52AM -0700, Yinghai Lu wrote:
> --- linux-2.6.orig/drivers/pci/probe.c
> +++ linux-2.6/drivers/pci/probe.c
> @@ -304,7 +304,7 @@ static int __pci_read_base(struct pci_de

> - printk(KERN_DEBUG "PCI: %s reg %x 64bit mmio: [%llx, %llx]\n",
> + pci_printk(KERN_LOG_DEBUG, KERN_DEBUG "PCI: %s reg %x 64bit mmio: [%llx, %llx]\n",
^^^^^^^^^^^^^^^^^^^^^^^^^^

Brilliant, simply brilliant!

Printk haters club is definitely creative, no questions.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/