You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
ipmi: Fix pr_fmt to avoid compilation issues
[ Upstream commit 2ebaf18a0b ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
fa390c8b62
commit
eb7a71b7b2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user