projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
[linux-2.6-microblaze.git]
/
net
/
ethtool
/
strset.c
diff --git
a/net/ethtool/strset.c
b/net/ethtool/strset.c
index
0baad0c
..
c3a5489
100644
(file)
--- a/
net/ethtool/strset.c
+++ b/
net/ethtool/strset.c
@@
-182,7
+182,7
@@
static int strset_parse_request(struct ethnl_req_info *req_base,
ret = strset_get_id(attr, &id, extack);
if (ret < 0)
return ret;
- if (
ret
>= ETH_SS_COUNT) {
+ if (
id
>= ETH_SS_COUNT) {
NL_SET_ERR_MSG_ATTR(extack, attr,
"unknown string set id");
return -EOPNOTSUPP;