commit | fb95cd8d1473b1cc90eccbd6a30641f3851c8506 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Thu May 15 00:46:45 2014 +0100 |
committer | Ben Hutchings <ben@decadent.org.uk> | Mon May 19 01:17:32 2014 +0100 |
tree | d6e22b245809be974c3a3ac95d33fe24c16c7e09 | |
parent | eb02a272c97b6e25d8e5fcf1ea93923e6f155595 [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>