From mboxrd@z Thu Jan 1 00:00:00 1970 From: dev@snitselaar.org (Jerry Snitselaar) Date: Wed, 13 Aug 2014 11:25:47 -0700 Subject: [PATCH] staging: Check for Null return of allocated skb in fw_download_code In-Reply-To: References: <1407900272-29402-1-git-send-email-xerofoify@gmail.com> <14218.1407908124@turing-police.cc.vt.edu> <39663.1407938186@turing-police.cc.vt.edu> <6253.1407945756@turing-police.cc.vt.edu> Message-ID: <20140813182547.GA25406@cantor.redhat.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed Aug 13 14, Max Filippov wrote: > On Wed, Aug 13, 2014 at 10:03 PM, Nick Krause 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