Skip to content

Commit 6ce7995

Browse files
committed
ipmi:ssif: Add send_retries increment
A recent change removed an increment of send_retries, re-add it. Fixes: 95767ed 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>
1 parent 957c822 commit 6ce7995

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/char/ipmi/ipmi_ssif.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,10 @@ static void retry_timeout(struct timer_list *t)
557557

558558
if (waiting)
559559
start_get(ssif_info);
560-
if (resend)
560+
if (resend) {
561561
start_resend(ssif_info);
562+
ssif_inc_stat(ssif_info, send_retries);
563+
}
562564
}
563565

564566
static void watch_timeout(struct timer_list *t)

0 commit comments

Comments
 (0)