Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mctp: Fix check for dev_hard_header() result
BugLink: https://bugs.launchpad.net/bugs/1969107 [ Upstream commit 60be976 ] dev_hard_header() returns the length of the header, so we need to test for negative errors rather than non-zero. Fixes: 889b7da ("mctp: Add initial routing framework") Signed-off-by: Matt Johnston <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Sasha Levin <[email protected]> (cherry picked from commit 71d28e5073b817189418ddd694e35e08d1c79cf3) Signed-off-by: Paolo Pisati <[email protected]>
- Loading branch information