From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04F86C38A2A for ; Sat, 9 May 2020 01:42:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D3F1C21974 for ; Sat, 9 May 2020 01:42:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588988559; bh=n5SQZvuF7YRwTsQwjSW3h/DoktJeurAnCZHom1CsK7g=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=s+EKHiCTAixfGJWN+soSyB0gCaNXBeJwhVP08rrryj6kVh7ne1PJfMuTjwbIrrjR0 WD4OUs2UYR9PH2OVZCZ+JSsGCbV1d4a6UUSwjFDEvRSpRUB9Q8Vo4Uk/wzzsNnSG19 eNqLKVnFvwt0WEMvXifLrDU2oHUjYt4xiZW11ABk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728470AbgEIBmi (ORCPT ); Fri, 8 May 2020 21:42:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:40752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727828AbgEIBmi (ORCPT ); Fri, 8 May 2020 21:42:38 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CB6CD20870; Sat, 9 May 2020 01:42:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588988558; bh=n5SQZvuF7YRwTsQwjSW3h/DoktJeurAnCZHom1CsK7g=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=e4WQlqVCoQG3Ybcu1q0pNmiNgXW9z4uMKPAW/hIjZWx1cb1ExeTGSSKaZkTQcKi+Q niSYGT7SDmaDqMe+A/16M/x+lGyV0s7Pz6+9crnMgOTWV9ObmBjMAaKQX86rp7WPyV YULStkm9RYWKS9nuRai/UL/N50V08g1UMpLL9AJs= Date: Fri, 8 May 2020 18:42:36 -0700 From: Jakub Kicinski To: Wei Yongjun Cc: Qiushi Wu , "Jakub Kicinski" , , , , Hulk Robot Subject: Re: [PATCH net-next] nfp: abm: fix error return code in nfp_abm_vnic_alloc() Message-ID: <20200508184236.6229f2b7@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200508072735.61047-1-weiyongjun1@huawei.com> References: <20200508072735.61047-1-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 8 May 2020 07:27:35 +0000 Wei Yongjun wrote: > Fix to return negative error code -ENOMEM from the kzalloc() error > handling case instead of 0, as done elsewhere in this function. > > Fixes: 174ab544e3bc ("nfp: abm: add cls_u32 offload for simple band classification") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun Applied, thanks! From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Date: Sat, 09 May 2020 01:42:36 +0000 Subject: Re: [PATCH net-next] nfp: abm: fix error return code in nfp_abm_vnic_alloc() Message-Id: <20200508184236.6229f2b7@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> List-Id: References: <20200508072735.61047-1-weiyongjun1@huawei.com> In-Reply-To: <20200508072735.61047-1-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Wei Yongjun Cc: Qiushi Wu , Jakub Kicinski , oss-drivers@netronome.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, Hulk Robot On Fri, 8 May 2020 07:27:35 +0000 Wei Yongjun wrote: > Fix to return negative error code -ENOMEM from the kzalloc() error > handling case instead of 0, as done elsewhere in this function. > > Fixes: 174ab544e3bc ("nfp: abm: add cls_u32 offload for simple band classification") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun Applied, thanks!