[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <498BEFAD.8070102@suse.de>
Date: Fri, 06 Feb 2009 09:07:09 +0100
From: Frank Seidel <fseidel@...e.de>
To: Kenji Kaneshige <kaneshige.kenji@...fujitsu.com>
Cc: linux kernel <linux-kernel@...r.kernel.org>,
linux-pci@...r.kernel.org, jbarnes@...tuousgeek.org,
greg@...ah.com, kristen.c.accardi@...el.com, ashok.raj@...el.com,
shaohua.li@...el.com, anil.s.keshavamurthy@...el.com,
fenghua.yu@...el.com, akpm@...ux-foundation.org, frank@...eidel.de,
Frans Pop <elendil@...net.nl>,
Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
Subject: Re: [PATCHv2] PCI: add missing KERN_* constants to printks
Kenji Kaneshige wrote:
> How about below. I think we can write printk in one line.
>
> #define dbg(format, arg...) \
> do { \
> if (pciehp_debug) \
> printk(KERN_DEBUG "%s: " format, MY_NAME, ## arg); \
> } while (0)
I wanted to keep the change as simple as possible and didn't wanna
play with surrounding indentation. But yes, if thats preferred...
i gonna change the patch to this. Shall i?
Thanks,
Frank
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists