diff options
| author | Matt Johnston <matt@codeconstruct.com.au> | 2026-01-13 17:01:16 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-17 15:14:18 -0800 |
| commit | 2a14e91b6d76639dac70ea170f4384c1ee3cb48d (patch) | |
| tree | c2c511618342971fe6a318038f96b6f60d2ac9df /include/uapi/linux/ethtool.h | |
| parent | 74ecff77dace0f9aead6aac852b57af5d4ad3b85 (diff) | |
mctp i2c: initialise event handler read bytes
Set a 0xff value for i2c reads of an mctp-i2c device. Otherwise reads
will return "val" from the i2c bus driver. For i2c-aspeed and
i2c-npcm7xx that is a stack uninitialised u8.
Tested with "i2ctransfer -y 1 r10@0x34" where 0x34 is a mctp-i2c
instance, now it returns all 0xff.
Fixes: f5b8abf9fc3d ("mctp i2c: MCTP I2C binding driver")
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Link: https://patch.msgid.link/20260113-mctp-read-fix-v1-1-70c4b59c741c@codeconstruct.com.au
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux/ethtool.h')
0 files changed, 0 insertions, 0 deletions
