]> www.infradead.org Git - users/willy/linux.git/commit
ipmi:ssif: Fix handling of multi-part return messages
authorCorey Minyard <cminyard@mvista.com>
Fri, 16 Nov 2018 15:59:21 +0000 (09:59 -0600)
committerCorey Minyard <cminyard@mvista.com>
Fri, 16 Nov 2018 15:59:21 +0000 (09:59 -0600)
commitae5f2fa3bc7675b3e3ae8ebd513176567c75fff3
treea31fb685f1d979342ecb019010b3a207dc951f58
parent9fd96b0715d52f06d4c0ec99d90a779a05c7c482
ipmi:ssif: Fix handling of multi-part return messages

The block number was not being compared right, it was off by one
when checking the response.

Some statistics wouldn't be incremented properly in some cases.

Check to see if that middle-part messages always have 31 bytes of
data.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_ssif.c