lkml.org 
[lkml]   [2009]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-02-06 09:09    [W:0.052 / U:9.044 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site