From: Antonio Alecrim Jr Date: Fri, 13 Sep 2013 17:05:49 +0000 (-0300) Subject: be2net: missing variable initialization X-Git-Tag: MMI-PSA29.97-13-9~13581^2~45 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=922bbe88c1ae6903f9a628c2fac2db81748527d8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git be2net: missing variable initialization Signed-off-by: Antonio Alecrim Jr Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 3224d28cdad4..100b528b9bd0 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;