projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f214549
)
ipmi: Fix pr_fmt to avoid compilation issues
author
Corey Minyard
<cminyard@mvista.com>
Fri, 15 Apr 2022 12:23:32 +0000
(07:23 -0500)
committer
Corey Minyard
<cminyard@mvista.com>
Thu, 12 May 2022 15:00:04 +0000
(10:00 -0500)
The was it was wouldn't work in some situations, simplify it. What was
there was unnecessary complexity.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_msghandler.c
b/drivers/char/ipmi/ipmi_msghandler.c
index 5d033fadba6ae50312e883e032cf9b97c0e32926..7c7f71e656bdbcf39a9967642dabb4cd72477874 100644
(file)
--- a/
drivers/char/ipmi/ipmi_msghandler.c
+++ b/
drivers/char/ipmi/ipmi_msghandler.c
@@
-11,8
+11,8
@@
* Copyright 2002 MontaVista Software Inc.
*/
-#define pr_fmt(fmt) "
%s" fmt, "IPMI message handler: "
-#define dev_fmt
pr_fmt
+#define pr_fmt(fmt) "
IPMI message handler: " fmt
+#define dev_fmt
(fmt) pr_fmt(fmt)
#include <linux/module.h>
#include <linux/errno.h>