Re: [PATCH] PCI: add missing KERN_* constants to printks
From: Frank Seidel
Date: Thu Feb 05 2009 - 12:32:56 EST
Greg KH wrote:
> On Thu, Feb 05, 2009 at 06:25:42PM +0100, Frank Seidel wrote:
>> - dbg("pcie_port_service_register = %d\n", retval);
>> + dbg(KERN_DEBUG "pcie_port_service_register = %d\n", retval);
>
> dbg() already sets the KERN_ level, right?
No, its definition in pciehp.h is:
#define dbg(format, arg...) \
do { \
if (pciehp_debug) \
printk("%s: " format, MY_NAME , ## arg); \
} while (0)
--
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/