]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: Fix multi-part message handling
authorCorey Minyard <cminyard@mvista.com>
Wed, 29 Apr 2015 22:59:21 +0000 (17:59 -0500)
committerCorey Minyard <cminyard@mvista.com>
Wed, 6 May 2015 00:37:22 +0000 (19:37 -0500)
commit42982f64efd343988548c5a59f39a1505e6933db
treee7e7825d758c3c3e5e932865bcf0b1b02e235939
parent0580ff6a538f1ae34122bc20ed072e27b76f57fb
ipmi: Fix multi-part message handling

Lots of little fixes for multi-part messages:

The values was not being re-initialized, if something went wrong
handling a multi-part message and it got left in a bad state, it
might be an issue.

The commands were not correct when issuing multi-part reads, the
code was not passing in the proper value for commands.  Also clean
up some minor formatting issues.

Get the block number from the right location, limit the maximum send
message size to 63 bytes and explain why, and fix some minor sylistic
issues.

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