From: Jim Cromie Date: Sun, 19 Jul 2020 23:10:57 +0000 (-0600) Subject: dyndbg: shorten our logging prefix, drop __func__ X-Git-Tag: v5.9-rc1~144^2~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5aa9ffbbaeb3aba22a5d2b6a6eead1f0bcd38254;p=thirdparty%2Flinux.git dyndbg: shorten our logging prefix, drop __func__ For log-message output, reduce column space consumed by current pr_fmt by dropping __func__ and shortening "dynamic_debug" to "dyndbg". This improves readability on narrow consoles, and better matches other kernel boot info messages. Acked-by: Signed-off-by: Jim Cromie Link: https://lore.kernel.org/r/20200719231058.1586423-18-jim.cromie@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index c72bb4d2eb7e8..e87b630bd793a 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -11,7 +11,7 @@ * Copyright (C) 2013 Du, Changbin */ -#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ +#define pr_fmt(fmt) "dyndbg: " fmt #include #include