]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerCorey Minyard <corey@minyard.net>
Wed, 4 Feb 2026 03:06:18 +0000 (21:06 -0600)
commit9f235ccecd03c436cb1683eac16b12f119e54aa9
treea0cd483876696ef2f472fc20d4a15ce88ca7729a
parent1d90e6c1a56f6ab83e5c9d30ded19e7ac8155713
ipmi: ipmb: initialise event handler read bytes

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>
drivers/char/ipmi/ipmi_ipmb.c