diff options
author | Dan Carpenter | 2020-01-08 08:41:25 +0300 |
---|---|---|
committer | David S. Miller | 2020-01-08 16:03:35 -0800 |
commit | d97772dbd7727655aa894f1610e983e73678212e (patch) | |
tree | 38311173398530209bcf02898d6c38909b78a728 /net/ethtool/strset.c | |
parent | a6dd04807ce4d7b71920d996e6b84fa3733a1bfd (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