Re: [PATCH 2/3] ide: improve debugging scheme



On Tuesday 27 January 2009, Borislav Petkov wrote:
On Mon, Jan 26, 2009 at 09:40:39PM +0100, Borislav Petkov wrote:
and more specifically, push __func__ into debug
macro thus making ide_debug_log() calls shorter and more readable.

Ups, sorry, I left the debug on :). Take better that one instead.

---
From: Borislav Petkov <petkovbb@xxxxxxxxx>
Date: Fri, 2 Jan 2009 13:34:47 +0100
Subject: [PATCH 2/3] ide: improve debugging scheme

and more specifically, push __func__ into debug
macro thus making ide_debug_log() calls shorter and more readable.

Signed-off-by: Borislav Petkov <petkovbb@xxxxxxxxx>

applied
--
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/



Relevant Pages

  • Re: C or Assembly
    ... TO SPEED UP MACRO EXECUTIONS, ... WE'LL TRY TO EXECUTE THE MACRO, ... int XMAC{ ... Being so much shorter, it also will lead to fewer defects and therefore shorter development and test times. ...
    (sci.electronics.basics)
  • Re: Question about #define
    ... > #ifdef DEBUG ... Get and use a C99 compiler. ... Get and use gcc and the gnu variadic macro extensions. ...
    (comp.lang.c)
  • Re: braces needed?
    ... > written macros particularly debug ones or ones requiring a local variable ... - the person who wrote "if (blah) MACRO()" should have been more awake ... I would not want to impose braces on all my code in order to avoid ...
    (comp.lang.cpp)
  • Re: What policy for BUG_ON()?
    ... > our own debug printk() that shows the mess. ... Then the BUG_ONmacro would ... macro would be disabled for general users, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Converting from 6.0 to VS2005
    ... It's hidden in the macro CheckParameters_* - something to do with the Assert ... I've no idea how DEBUG came to NOT be defined in VC6.0 but I've just wrapped ... or it was a modified Debug project that had ... DebugTraceFn can be used. ...
    (microsoft.public.win32.programmer.messaging)