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,URIBL_BLOCKED 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 4F739C28CBC for ; Sat, 9 May 2020 05:23:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 246E024953 for ; Sat, 9 May 2020 05:23:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589001798; bh=RSbOqMu+eqL6J620BIH5Sc7XFtiDqn2HZQGT/Z0Bl4c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=akjaZDvBUHwfk/tTpBeLZA1RhbLxz7Pif21Rvbzs2mvW6LZFky/N5n3b5H6ODekSL VVTXZ3ILBF8ifd+mAsK9BRRJ1/xASOyrGZqQTVusV9soSwP+M+ABcj1mu9X74gsWdZ FN1lPZwMtT41Dt0aGKISEGdYuk8gBdYotsHsIKcw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728737AbgEIFXR (ORCPT ); Sat, 9 May 2020 01:23:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:55978 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725795AbgEIFXR (ORCPT ); Sat, 9 May 2020 01:23:17 -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 5572520736; Sat, 9 May 2020 05:23:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589001796; bh=RSbOqMu+eqL6J620BIH5Sc7XFtiDqn2HZQGT/Z0Bl4c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=H1eAmi4qagPKePxt0qy4fgxAcCyzN2ySgPRRcay0ZTweuF1Cz0f+h4DZCcWqlsv2N Q/dbGhzctq0/ixGWNd6o3dzr5x+1UTDEYg5UX+MF5yXap8T0mmPsot11jwCVrAPgq+ pby5gC3GBGyUEuKqHpDksRs82tkCvVDlmC54HO+Q= Date: Fri, 8 May 2020 22:23:15 -0700 From: Jakub Kicinski To: Wei Yongjun Cc: Sunil Goutham , Geetha sowjanya , Subbaraya Sundeep , hariprasad , Tomasz Duszynski , , , Hulk Robot Subject: Re: [PATCH net-next] octeontx2-vf: Fix error return code in otx2vf_probe() Message-ID: <20200508222315.3b672eeb@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200508021519.179062-1-weiyongjun1@huawei.com> References: <20200508021519.179062-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 02:15:19 +0000 Wei Yongjun wrote: > Fix to return negative error code -ENOMEM from the alloc failed error > handling case instead of 0, as done elsewhere in this function. > > Fixes: 3184fb5ba96e ("octeontx2-vf: Virtual function driver support") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun Applied, thank you! From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Date: Sat, 09 May 2020 05:23:15 +0000 Subject: Re: [PATCH net-next] octeontx2-vf: Fix error return code in otx2vf_probe() Message-Id: <20200508222315.3b672eeb@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> List-Id: References: <20200508021519.179062-1-weiyongjun1@huawei.com> In-Reply-To: <20200508021519.179062-1-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Wei Yongjun Cc: Sunil Goutham , Geetha sowjanya , Subbaraya Sundeep , hariprasad , Tomasz Duszynski , netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, Hulk Robot On Fri, 8 May 2020 02:15:19 +0000 Wei Yongjun wrote: > Fix to return negative error code -ENOMEM from the alloc failed error > handling case instead of 0, as done elsewhere in this function. > > Fixes: 3184fb5ba96e ("octeontx2-vf: Virtual function driver support") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun Applied, thank you!