]> 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, 10 Mar 2023 08:34:03 +0000 (09:34 +0100)
commit25a5d3d82b4a2ba708d7b82fcfb52a839822722e
treeb4993a1aff3ac34b036836ea0c2994bd88b07328
parente3dcb5eb4f411dda20ede27fc12cc9e386c8de9a
ipmi:ssif: resend_msg() cannot fail

commit 68a75b69f8c3fe1ab3d02f80361aab84246e35c1 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/ipmi/ipmi_ssif.c