]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: Fix the I2C address extraction from SPMI tables
authorCorey Minyard <cminyard@mvista.com>
Fri, 6 May 2016 17:57:13 +0000 (12:57 -0500)
committerCorey Minyard <cminyard@mvista.com>
Tue, 17 May 2016 00:49:49 +0000 (19:49 -0500)
commit4e453280f8dddc283e957cbfa2d6fe7a2aa35ca4
tree59ed2c70e6930ea74d95d0275998c8d84162a216
parent6b56dc9f81e585be5d9580e8976473dd1212aed5
ipmi: Fix the I2C address extraction from SPMI tables

Unlike everywhere else in the IPMI specification, the I2C address
specified in the SPMI table is not shifted to the left one bit with
the LSB zero.  Instead it is not shifted with the MSB zero.

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