Re: [LMB][1/2] Fix some whitespace and other formatting issues, use pr_debug

2008-04-13 Thread Paul Mackerras
Nick Andrew writes: > On Sat, Apr 12, 2008 at 03:20:59PM +1000, Paul Mackerras wrote: > > + pr_debug("\nreserved.cnt = 0x%lx\n", lmb.reserved.cnt); > > This will only output an empty line at KERN_DEBUG level and the rest > will be at default_message_loglevel. Problem is fixed my my pat

Re: [LMB][1/2] Fix some whitespace and other formatting issues, use pr_debug

2008-04-12 Thread Nick Andrew
On Sat, Apr 12, 2008 at 03:20:59PM +1000, Paul Mackerras wrote: > + pr_debug("\nreserved.cnt = 0x%lx\n", lmb.reserved.cnt); This will only output an empty line at KERN_DEBUG level and the rest will be at default_message_loglevel. Problem is fixed my my patch in msg <[EMAIL PROTECTED]>

[LMB][1/2] Fix some whitespace and other formatting issues, use pr_debug

2008-04-11 Thread Paul Mackerras
This makes no semantic changes. It fixes the whitespace and formatting a bit, gets rid of a local DBG macro and uses the equivalent pr_debug instead, and restructures one while loop that had a function call and assignment in the condition to be a bit more readable. Some comments about functions b