[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9848F2DB572E5649BA045B288BE08FBE016A7B46@039-SN2MPN1-023.039d.mgd.msft.net>
Date: Tue, 10 Sep 2013 01:48:11 +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>,
Sascha Hauer <s.hauer@...gutronix.de>
Subject: RE: [PATCH] net: fec: fix build warning of used uninitialized
variable
Hi, David,
Please don't ignore the patch too.
Thanks,
Andy
> -----Original Message-----
> From: Duan Fugang-B38611
> Sent: Friday, August 30, 2013 10:48 AM
> To: davem@...emloft.net
> Cc: netdev@...r.kernel.org; shawn.guo@...aro.org;
> bhutchings@...arflare.com; Estevam Fabio-R49496;
> stephen@...workplumber.org; Li Frank-B20596
> 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