]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipmi: ipmb: initialise event handler read bytes
authorMatt Johnston <matt@codeconstruct.com.au>
Tue, 13 Jan 2026 09:41:34 +0000 (17:41 +0800)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:20:51 +0000 (07:20 -0500)
commit102712417bb6aa9a00d852bc59cb0a276db486c4
treecc64d5d96fd1ff2caa95eb7c90cc7d0b7ba8cf51
parent248acc5873a86472e6616b1c5889d6d17b1431dd
ipmi: ipmb: initialise event handler read bytes

[ Upstream commit 9f235ccecd03c436cb1683eac16b12f119e54aa9 ]

IPMB doesn't use i2c reads, but the handler needs to set a value.
Otherwise an i2c read will return an uninitialised value from the bus
driver.

Fixes: 63c4eb347164 ("ipmi:ipmb: Add initial support for IPMI over IPMB")
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Message-ID: <20260113-ipmb-read-init-v1-1-a9cbce7b94e3@codeconstruct.com.au>
Signed-off-by: Corey Minyard <corey@minyard.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/char/ipmi/ipmi_ipmb.c