[PATCH] staging: Check for Null return of allocated skb in fw_download_code

Jerry Snitselaar dev at snitselaar.org
Wed Aug 13 14:25:47 EDT 2014


On Wed Aug 13 14, Max Filippov wrote:
> On Wed, Aug 13, 2014 at 10:03 PM, Nick Krause <xerofoify at gmail.com> wrote:
> > I did test my patch by doing a kernel build and I get this error,
> > drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c:66:4: error:
> > implicit declaration of function ‘skb_quene_purge’
> > [-Werror=implicit-function-declaration]
> >     skb_quene_purge(&priv->rtllib->skb_waitQ[tcb_desc->queue_index]);
> > I am wondering how do I fix this, I will attach my patch so I can fix
> > this out and send a proper patch :).
> 
> Typo, skb_queue_purge.
> 

I imagine that array index isn't going to go over very well.

Jerry



More information about the Kernelnewbies mailing list