summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex
diff options
context:
space:
mode:
authorAntonio Alecrim Jr <antonio.alecrim@gmail.com>2013-09-13 14:05:49 -0300
committerDavid S. Miller <davem@davemloft.net>2013-09-13 20:08:06 -0400
commit922bbe88c1ae6903f9a628c2fac2db81748527d8 (patch)
tree1c13e3607ccc37b48e8c7e0caa5a0bbf643c803f /drivers/net/ethernet/emulex
parent35a4a5733b0a8290de39558b82896ab795b108a7 (diff)
downloadop-kernel-dev-922bbe88c1ae6903f9a628c2fac2db81748527d8.zip
op-kernel-dev-922bbe88c1ae6903f9a628c2fac2db81748527d8.tar.gz
be2net: missing variable initialization
Signed-off-by: Antonio Alecrim Jr <antonio.alecrim@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index 3224d28..100b528 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -2802,7 +2802,7 @@ static int be_vfs_if_create(struct be_adapter *adapter)
struct be_resources res = {0};
struct be_vf_cfg *vf_cfg;
u32 cap_flags, en_flags, vf;
- int status;
+ int status = 0;
cap_flags = BE_IF_FLAGS_UNTAGGED | BE_IF_FLAGS_BROADCAST |
BE_IF_FLAGS_MULTICAST;
OpenPOWER on IntegriCloud