aboutsummaryrefslogtreecommitdiff
path: root/net/ethtool/strset.c
diff options
context:
space:
mode:
authorDan Carpenter2020-01-08 08:41:25 +0300
committerDavid S. Miller2020-01-08 16:03:35 -0800
commitd97772dbd7727655aa894f1610e983e73678212e (patch)
tree38311173398530209bcf02898d6c38909b78a728 /net/ethtool/strset.c
parenta6dd04807ce4d7b71920d996e6b84fa3733a1bfd (diff)
ethtool: fix ->reply_size() error handling
The "ret < 0" comparison is never true because "ret" is still zero. Fixes: 728480f12442 ("ethtool: default handlers for GET requests") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool/strset.c')
0 files changed, 0 insertions, 0 deletions