Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d357cbb4 authored by Borislav Petkov's avatar Borislav Petkov
Browse files

edac: fold __func__ into edac_debug_printk



This shortens debugfX() calls a bit.

Reviewed-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
CC: Doug Thompson <norsk5@yahoo.com>
Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent b034c19f
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -79,7 +79,8 @@ extern int edac_debug_level;
#define edac_debug_printk(level, fmt, arg...)                           \
	do {                                                            \
		if (level <= edac_debug_level)                          \
			edac_printk(KERN_DEBUG, EDAC_DEBUG, fmt, ##arg); \
			edac_printk(KERN_DEBUG, EDAC_DEBUG,		\
				    "%s: " fmt, __func__, ##arg);	\
	} while (0)
#else  /* CONFIG_EDAC_DEBUG_VERBOSE */
#define edac_debug_printk(level, fmt, arg...)                            \