diff options
| author | 2014-05-15 00:46:45 +0100 | |
|---|---|---|
| committer | 2014-05-19 01:17:32 +0100 | |
| commit | fb95cd8d1473b1cc90eccbd6a30641f3851c8506 (patch) | |
| tree | d6e22b245809be974c3a3ac95d33fe24c16c7e09 /include/linux/flex_array.h | |
| parent | driver/net/ethernet/ec_bhf.c: fix sparse warnings (diff) | |
ethtool: Return immediately on error in ethtool_copy_validate_indir()
We must return -EFAULT immediately rather than continuing into
the loop.
Similarly, we may as well return -EINVAL directly.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
