]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipmi: Use dev_warn_ratelimited() for incorrect message warnings
authorBreno Leitao <leitao@debian.org>
Thu, 10 Jul 2025 12:57:26 +0000 (05:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:29 +0000 (16:28 +0200)
commit933992c60c076f7d4c4eb4c2ae07ed30b5106091
tree1cefa9dc28e4254112d25c1907fbaebc873040b0
parent2e07a9fe5117543387d405494c5d58006c027b09
ipmi: Use dev_warn_ratelimited() for incorrect message warnings

[ Upstream commit ec50ec378e3fd83bde9b3d622ceac3509a60b6b5 ]

During BMC firmware upgrades on live systems, the ipmi_msghandler
generates excessive "BMC returned incorrect response" warnings
while the BMC is temporarily offline. This can flood system logs
in large deployments.

Replace dev_warn() with dev_warn_ratelimited() to throttle these
warnings and prevent log spam during BMC maintenance operations.

Signed-off-by: Breno Leitao <leitao@debian.org>
Message-ID: <20250710-ipmi_ratelimit-v1-1-6d417015ebe9@debian.org>
Signed-off-by: Corey Minyard <corey@minyard.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/char/ipmi/ipmi_msghandler.c