diff options
author | Wei Yongjun <[email protected]> | 2016-09-15 03:45:07 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-09-16 04:27:05 -0400 |
commit | bc6c03fa3cacd31b873e36ca16ef9678269deae6 (patch) | |
tree | d1d49460c2af4cd54416efdddb917054f85918df /tools/perf/scripts/python | |
parent | d6f64d725bac20df66b2eacd847fc41d7a1905e0 (diff) |
nfp: fix error return code in nfp_net_netdev_open()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 73725d9dfd99 ("nfp: allocate ring SW structs dynamically")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions