diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-05-23 17:40:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-23 16:57:00 -0700 |
commit | 316107119f473e764cf5e50437333c8b83bec0da (patch) | |
tree | b6039ce7e2bd1dd3d66e31f73641ef96221e8ce7 /arch/um/drivers/vector_user.h | |
parent | c0096a28588d5a72fa290a74593cf9737c0b1cfb (diff) | |
download | lwn-316107119f473e764cf5e50437333c8b83bec0da.tar.gz lwn-316107119f473e764cf5e50437333c8b83bec0da.zip |
ethtool: propagate get_coalesce return value
get_coalesce returns 0 or ERRNO, but the return value isn't checked.
The returned coalesce data may be invalid if an ERRNO is set,
therefore better check and propagate the return value.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/um/drivers/vector_user.h')
0 files changed, 0 insertions, 0 deletions