Re: [PATCH v2 1/2] ipmi: Cleanup DEBUG_TIMING ifdef usage
From: John Stultz
Date: Fri Jan 09 2015 - 18:57:42 EST
On Fri, Jan 9, 2015 at 2:52 PM, Corey Minyard <minyard@xxxxxxx> wrote:
> On 01/07/2015 04:24 PM, John Stultz wrote:
>> The driver uses #ifdef DEBUG_TIMING in order to conditionally print out
>> timestamped debug messages. Unfortunately it adds the ifdefs all over the
>> usage sites.
>>
>> This patch cleans it up by adding a debug_timestamp() function which
>> is compiled out if DEBUG_TIMING isn't present. This cleans up all
>> the ugly ifdefs in the function logic.
>
> Yes, this is much better. I had looked at this recently and planned to
> do something
> with it. Queued for 3.20, unless you need it sooner.
Nope, no rush. Just wanted to make sure it gets off my queue. :)
thanks
-john
--
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/