projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b034c19
)
edac: fold __func__ into edac_debug_printk
author
Borislav Petkov
<borislav.petkov@amd.com>
Thu, 14 May 2009 15:49:28 +0000
(17:49 +0200)
committer
Borislav Petkov
<borislav.petkov@amd.com>
Wed, 10 Jun 2009 10:18:44 +0000
(12:18 +0200)
This shortens debugfX() calls a bit.
Reviewed-by: Mauro Carvalho Chehab <mchehab@redhat.com>
CC: Doug Thompson <norsk5@yahoo.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/edac_core.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/edac/edac_core.h
b/drivers/edac/edac_core.h
index 6ad95c8d636315960d392be226078a9b13796cc6..48d3b1409834e90e705608934ec8f399974b475a 100644
(file)
--- a/
drivers/edac/edac_core.h
+++ b/
drivers/edac/edac_core.h
@@
-76,10
+76,11
@@
extern int edac_debug_level;
#ifndef CONFIG_EDAC_DEBUG_VERBOSE
-#define edac_debug_printk(level, fmt, arg...) \
- do { \
- if (level <= edac_debug_level) \
- edac_printk(KERN_DEBUG, EDAC_DEBUG, fmt, ##arg); \
+#define edac_debug_printk(level, fmt, arg...) \
+ do { \
+ if (level <= edac_debug_level) \
+ edac_printk(KERN_DEBUG, EDAC_DEBUG, \
+ "%s: " fmt, __func__, ##arg); \
} while (0)
#else /* CONFIG_EDAC_DEBUG_VERBOSE */
#define edac_debug_printk(level, fmt, arg...) \