OpenCloudOS-Kernel/drivers/net/mctp
Matt Johnston 8ce40a2fd3 mctp i2c: correct mctp_i2c_header_create result
header_ops.create should return the length of the header,
instead mctp_i2c_head_create() returned 0.
This didn't cause any problem because the MCTP stack accepted
0 as success.

Fixes: f5b8abf9fc ("mctp i2c: MCTP I2C binding driver")
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-04-01 12:04:15 +01:00
..
Kconfig mctp i2c: MCTP I2C binding driver 2022-02-19 16:18:49 +00:00
Makefile mctp i2c: MCTP I2C binding driver 2022-02-19 16:18:49 +00:00
mctp-i2c.c mctp i2c: correct mctp_i2c_header_create result 2022-04-01 12:04:15 +01:00
mctp-serial.c mctp: serial: Use netif_rx(). 2022-03-06 11:05:31 +00:00