diff options
| author | 2022-04-01 10:48:42 +0800 | |
|---|---|---|
| committer | 2022-04-01 12:04:15 +0100 | |
| commit | 60be976ac45137657b7b505d7e0d44d0e51accb7 (patch) | |
| tree | 74bb288425b7047cbb64504509d65035d8727c41 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | Merge branch 'ice-fixups' (diff) | |
| download | linux-dev-60be976ac45137657b7b505d7e0d44d0e51accb7.tar.xz linux-dev-60be976ac45137657b7b505d7e0d44d0e51accb7.zip | |
mctp: Fix check for dev_hard_header() result
dev_hard_header() returns the length of the header, so
we need to test for negative errors rather than non-zero.
Fixes: 889b7da23abf ("mctp: Add initial routing framework")
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
