diff options
author | Matt Johnston <matt@codeconstruct.com.au> | 2022-04-01 10:48:43 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-01 12:04:15 +0100 |
commit | 8ce40a2fd350769e94877b53d353a3b11d85f43b (patch) | |
tree | 952020b844f49a6b1f4613541be63f95ca27eb59 /net | |
parent | 60be976ac45137657b7b505d7e0d44d0e51accb7 (diff) |
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: f5b8abf9fc3d ("mctp i2c: MCTP I2C binding driver")
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions