diff options
author | Borislav Petkov <petkovbb@gmail.com> | 2009-01-02 07:34:47 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:19 -0400 |
commit | 088b1b88609ce89b6ab19d114cdbec94a44aa22c (patch) | |
tree | 2c4f7769e8b2854bcb028dda99c34fe7de3847ae /drivers/ide/ide-cd.h | |
parent | 70775e9c627d7094189b96d73fffced6dab30b30 (diff) |
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@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r-- | drivers/ide/ide-cd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h index c878bfcf1116..3b77dd735088 100644 --- a/drivers/ide/ide-cd.h +++ b/drivers/ide/ide-cd.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #define IDECD_DEBUG_LOG 0 | 11 | #define IDECD_DEBUG_LOG 0 |
12 | 12 | ||
13 | #if IDECD_DEBUG_LOG | 13 | #if IDECD_DEBUG_LOG |
14 | #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, args) | 14 | #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args) |
15 | #else | 15 | #else |
16 | #define ide_debug_log(lvl, fmt, args...) do {} while (0) | 16 | #define ide_debug_log(lvl, fmt, args...) do {} while (0) |
17 | #endif | 17 | #endif |