From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: aquantia: Fix error return code in aq_pci_probe() Date: Tue, 23 Jan 2018 11:00:06 -0500 (EST) Message-ID: <20180123.110006.212357313377754992.davem@davemloft.net> References: <1516673446-170729-1-git-send-email-weiyongjun1@huawei.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: darcari@redhat.com, colin.king@canonical.com, vomlehn@texas.net, igor.russkikh@aquantia.com, pavel.belous@aquantia.com, Dmitrii.Tarakanov@aquantia.com, Alexander.Loktionov@aquantia.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org To: weiyongjun1@huawei.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:54742 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752453AbeAWQAI (ORCPT ); Tue, 23 Jan 2018 11:00:08 -0500 In-Reply-To: <1516673446-170729-1-git-send-email-weiyongjun1@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Wei Yongjun Date: Tue, 23 Jan 2018 02:10:46 +0000 > Fix to return error code -ENOMEM from the aq_ndev_alloc() error > handling case instead of 0, as done elsewhere in this function. > > Fixes: 23ee07ad3c2f ("net: aquantia: Cleanup pci functions module") > Signed-off-by: Wei Yongjun Applied.