git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7015355
)
net/ena: fix return of hash control flushing
author
Yong Wang
<wang.yong19@zte.com.cn>
Tue, 14 Feb 2017 12:37:43 +0000
(07:37 -0500)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:40 +0000
(18:59 +0200)
In function ena_com_set_hash_ctrl(), the return value is assigned to
"ret" variable, but it is not returned. Fix it by adding the return.
Fixes:
99ecfbf845b3
("ena: import communication layer")
Cc: stable@dpdk.org
Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Jan Medala <jan@semihalf.com>
drivers/net/ena/base/ena_com.c
patch
|
blob
|
history
diff --git
a/drivers/net/ena/base/ena_com.c
b/drivers/net/ena/base/ena_com.c
index
39356d2
..
38a0587
100644
(file)
--- a/
drivers/net/ena/base/ena_com.c
+++ b/
drivers/net/ena/base/ena_com.c
@@
-2278,7
+2278,7
@@
int ena_com_set_hash_ctrl(struct ena_com_dev *ena_dev)
sizeof(resp));
if (unlikely(ret)) {
ena_trc_err("Failed to set hash input. error: %d\n", ret);
- ret
=
ENA_COM_INVAL;
+ ret
urn
ENA_COM_INVAL;
}
return 0;