ipmi: Fix pr_fmt to avoid compilation issues
authorCorey Minyard <cminyard@mvista.com>
Fri, 15 Apr 2022 12:23:32 +0000 (07:23 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:22:37 +0000 (10:22 +0200)
commit25929a5a69cf3e58e3e5205e3b95f10acdac8d9f
tree5c4109453c65d319d9a0ad406784ed74134550fe
parent98a0c0dea51d61ab880c6191bd354f65287b3d58
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 <lkp@intel.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/char/ipmi/ipmi_msghandler.c