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:
af84ca8
)
net/qede/base: return an initialized return value
author
Rasesh Mody
<rasesh.mody@cavium.com>
Wed, 29 Mar 2017 20:36:01 +0000
(13:36 -0700)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:49 +0000
(19:02 +0200)
Make sure ecore_iov_mark_vf_flr() always returns an initialized return
value.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_sriov.c
patch
|
blob
|
history
diff --git
a/drivers/net/qede/base/ecore_sriov.c
b/drivers/net/qede/base/ecore_sriov.c
index
6912cf8
..
d1c809c
100644
(file)
--- a/
drivers/net/qede/base/ecore_sriov.c
+++ b/
drivers/net/qede/base/ecore_sriov.c
@@
-3164,7
+3164,7
@@
ecore_iov_single_vf_flr_cleanup(struct ecore_hwfn *p_hwfn,
bool ecore_iov_mark_vf_flr(struct ecore_hwfn *p_hwfn, u32 *p_disabled_vfs)
{
- bool found;
+ bool found
= false
;
u16 i;
DP_VERBOSE(p_hwfn, ECORE_MSG_IOV, "Marking FLR-ed VFs\n");