[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170426090305.4C13361496@smtp.codeaurora.org>
Date: Wed, 26 Apr 2017 09:03:05 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Pan Bian <bianpan2016@....com>
Cc: Jakub Kicinski <kubakici@...pl>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, Pan Bian <bianpan2016@....com>
Subject: Re: [1/1] mt7601u: check return value of alloc_skb
Pan Bian <bianpan2016@....com> wrote:
> Function alloc_skb() will return a NULL pointer if there is no enough
> memory. However, in function mt7601u_mcu_msg_alloc(), its return value
> is not validated before it is used. This patch fixes it.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
> Acked-by: Jakub Kicinski <kubakici@...pl>
Patch applied to wireless-drivers-next.git, thanks.
5fb01e91daf8 mt7601u: check return value of alloc_skb
--
https://patchwork.kernel.org/patch/9694549/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists