From: Kalle Valo Subject: Re: [PATCH] mt7601u: null check the allocation Date: Tue, 6 Aug 2019 12:35:48 +0000 (UTC) Message-ID: <20190806123549.7C9BD609CD@smtp.codeaurora.org> References: <20190724141736.29994-1-navid.emamdoost@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190724141736.29994-1-navid.emamdoost@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org Cc: secalert@redhat.com, Jakub Kicinski , linux-wireless@vger.kernel.org, kjlu@umn.edu, linux-kernel@vger.kernel.org, emamd001@umn.edu, linux-mediatek@lists.infradead.org, smccaman@umn.edu, Matthias Brugger , netdev@vger.kernel.org, "David S. Miller" , linux-arm-kernel@lists.infradead.org, Navid Emamdoost List-Id: linux-mediatek@lists.infradead.org Navid Emamdoost wrote: > devm_kzalloc may fail and return NULL. So the null check is needed. > > Signed-off-by: Navid Emamdoost > Acked-by: Jakub Kicinski Patch applied to wireless-drivers-next.git, thanks. b95c732234fa mt7601u: null check the allocation -- https://patchwork.kernel.org/patch/11057013/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches