[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1379091949-4668-1-git-send-email-antonio.alecrim@gmail.com>
Date: Fri, 13 Sep 2013 14:05:49 -0300
From: Antonio Alecrim Jr <antonio.alecrim@...il.com>
To: Sathya Perla <sathya.perla@...lex.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Antonio Alecrim Jr <antonio.alecrim@...il.com>
Subject: [PATCH 1/1] be2net: missing variable initialization
Signed-off-by: Antonio Alecrim Jr <antonio.alecrim@...il.com>
---
drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists