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

Max Filippov jcmvbkbc at gmail.com
Wed Aug 13 14:11:01 EDT 2014


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.

-- 
Thanks.
-- Max



More information about the Kernelnewbies mailing list