[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9848F2DB572E5649BA045B288BE08FBE01662C52@039-SN2MPN1-021.039d.mgd.msft.net>
Date: Fri, 30 Aug 2013 02:47:26 +0000
From: Duan Fugang-B38611 <B38611@...escale.com>
To: "davem@...emloft.net" <davem@...emloft.net>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"shawn.guo@...aro.org" <shawn.guo@...aro.org>,
"bhutchings@...arflare.com" <bhutchings@...arflare.com>,
Estevam Fabio-R49496 <r49496@...escale.com>,
"stephen@...workplumber.org" <stephen@...workplumber.org>,
Li Frank-B20596 <B20596@...escale.com>
Subject: RE: [PATCH] net: fec: fix build warning of used uninitialized
variable
Ping...
> -----Original Message-----
> From: Li Frank-B20596
> Sent: Thursday, August 22, 2013 10:16 PM
> To: Duan Fugang-B38611; Zhou Luwei-B45643; davem@...emloft.net
> Cc: netdev@...r.kernel.org; shawn.guo@...aro.org;
> bhutchings@...arflare.com; Estevam Fabio-R49496;
> stephen@...workplumber.org
> Subject: RE: [PATCH] net: fec: fix build warning of used uninitialized
> variable
>
> > diff --git a/drivers/net/ethernet/freescale/fec_main.c
> > b/drivers/net/ethernet/freescale/fec_main.c
> > index 77ea0db..4ea1555 100644
> > --- a/drivers/net/ethernet/freescale/fec_main.c
> > +++ b/drivers/net/ethernet/freescale/fec_main.c
> > @@ -835,7 +835,7 @@ fec_enet_rx(struct net_device *ndev, int budget)
> > int pkt_received = 0;
> > struct bufdesc_ex *ebdp = NULL;
> > bool vlan_packet_rcvd = false;
> > - u16 vlan_tag;
> > + u16 vlan_tag = 0;
> >
> > #ifdef CONFIG_M532x
> > flush_cache_all();
>
> Acked
>
> > --
> > 1.7.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