Messages in this thread | | | Date | Fri, 06 Feb 2009 09:07:09 +0100 | From | Frank Seidel <> | 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
| |