diff options
author | Corey Minyard <minyard@acm.org> | 2023-04-04 15:09:14 +0300 |
---|---|---|
committer | Corey Minyard <minyard@acm.org> | 2023-04-04 15:23:25 +0300 |
commit | 6ce7995a43febe693d4894033c6e29314970646a (patch) | |
tree | ebed4a50c6549fa6566fd2f1a40202f0a67d8c9c /drivers/char/ipmi | |
parent | 957c822a9c708b78390b7f24695943a5bde81434 (diff) | |
download | linux-6ce7995a43febe693d4894033c6e29314970646a.tar.xz |
ipmi:ssif: Add send_retries increment
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>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r-- | drivers/char/ipmi/ipmi_ssif.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index 1a85b400e929..e4f6ecc12ed7 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c @@ -557,8 +557,10 @@ static void retry_timeout(struct timer_list *t) if (waiting) start_get(ssif_info); - if (resend) + if (resend) { start_resend(ssif_info); + ssif_inc_stat(ssif_info, send_retries); + } } static void watch_timeout(struct timer_list *t) |