git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb02a27
)
ethtool: Return immediately on error in ethtool_copy_validate_indir()
author
Ben Hutchings
<ben@decadent.org.uk>
Wed, 14 May 2014 23:46:45 +0000
(
00:46
+0100)
committer
Ben Hutchings
<ben@decadent.org.uk>
Mon, 19 May 2014 00:17:32 +0000
(
01:17
+0100)
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>
net/core/ethtool.c
patch
|
blob
|
history
diff --cc
net/core/ethtool.c
Simple merge