Re: Fwd: Re: Re: net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

Dan Carpenter
2015-01-06T08:15:24Z

> > > On Wed, Oct 15, 2014 at 04:53:54PM +0300, Dan Carpenter wrote:
> > > > Hello Siva Reddy,
> > > >
> > > > The patch 1edb9ca69e8a: "net: sxgbe: add basic framework for Samsung
> > > > 10Gb ethernet driver" from Mar 25, 2014, leads to the following
> > > > static checker warning:
> > > >
> > > > drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:505 init_rx_ring()
> > > > warning: passing freed memory 'rx_ring->rx_skbuff'
> > > >
> Yeah, the checker is right and it should be fixed. I'm sorry to be in my
> carelessness. To be honest I've missed the warning messages...
>

No no. No problems. This is a Smatch warning and you need the cross
function database configured. I wasn't expecting that you would see the
warnings.

regards,
dan carpenter