From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754334AbdHUVek (ORCPT ); Mon, 21 Aug 2017 17:34:40 -0400 Received: from mx4.wp.pl ([212.77.101.12]:31267 "EHLO mx4.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754096AbdHUVei (ORCPT ); Mon, 21 Aug 2017 17:34:38 -0400 Date: Mon, 21 Aug 2017 14:34:30 -0700 From: Jakub Kicinski To: Christophe JAILLET Cc: kvalo@codeaurora.org, matthias.bgg@gmail.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] mt7601u: check memory allocation failure Message-ID: <20170821143430.635e4b92@cakuba.netronome.com> In-Reply-To: <20170821205956.20859-1-christophe.jaillet@wanadoo.fr> References: <20170821205956.20859-1-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-WP-MailID: d3234b5b1bfb6e805d8a8cddc7ad7488 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000A [kdPk] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Aug 2017 22:59:56 +0200, Christophe JAILLET wrote: > Check memory allocation failure and return -ENOMEM in such a case, as > already done a few lines below > > Signed-off-by: Christophe JAILLET Acked-by: Jakub Kicinski Thanks!