mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-04 01:36:58 -05:00
ipmi: Fix pr_fmt to avoid compilation issues
[ Upstream commit 2ebaf18a0b7fb764bba6c806af99fe868cee93de ] The was it was wouldn't work in some situations, simplify it. What was there was unnecessary complexity. Reported-by: kernel test robot <[email protected]> Signed-off-by: Corey Minyard <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
2064a1eab2
commit
2d966c94ad
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue