ipmi:ssif: Add send_retries increment
authorCorey Minyard <minyard@acm.org>
Tue, 4 Apr 2023 12:09:14 +0000 (12:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:01 +0000 (23:03 +0900)
commitaeff5808f172293792241a00b130347a4fb608b6
tree5c8fb443f0124726bf244e07875f4e856cbfe384
parenta6b54af407873227caef6262e992f5422cdcb6ae
ipmi:ssif: Add send_retries increment

commit 6ce7995a43febe693d4894033c6e29314970646a upstream.

A recent change removed an increment of send_retries, re-add it.

Fixes: 95767ed78a18 ipmi:ssif: resend_msg() cannot fail
Reported-by: Pavel Machek <pavel@denx.de>
Cc: stable@vger.kernel.org
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/ipmi/ipmi_ssif.c