]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi:ssif: resend_msg() cannot fail
authorCorey Minyard <cminyard@mvista.com>
Wed, 25 Jan 2023 16:11:06 +0000 (10:11 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:32:49 +0000 (08:32 +0100)
commitbf3c1076baee956f33695feb3b8b24f8a6d54308
tree04f48b1ca9ecf330c72310559977b8e8af079153
parent2afcbe02ec95493e049b08c9338c3ad74d3179e4
ipmi:ssif: resend_msg() cannot fail

[ Upstream commit 95767ed78a181d5404202627499f9cde56053b96 ]

The resend_msg() function cannot fail, but there was error handling
around using it.  Rework the handling of the error, and fix the out of
retries debug reporting that was wrong around this, too.

Cc: stable@vger.kernel.org
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/char/ipmi/ipmi_ssif.c