Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp152892iof; Sun, 5 Jun 2022 23:59:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG/+UdtHDwcB4qCFU/c9mwDHVf7n3DLjDNmIYsILdZ9QIkcUqDNU1/i/Doq/U3JL5bs6ep X-Received: by 2002:a05:6a00:213c:b0:51b:daec:a612 with SMTP id n28-20020a056a00213c00b0051bdaeca612mr17933342pfj.61.1654498778923; Sun, 05 Jun 2022 23:59:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654498778; cv=none; d=google.com; s=arc-20160816; b=VZl6VbsHW6798/urihVukmItmkKq5OS64GXOMqabuhCwMfST/KB3esY/cq36ftnO9w 2LkXJ7qtWRfiOWoLwBjq1XafjtryT3oQetJfH9zxQ7y72sWxUEdJ5FXhwKIvU6nVI3ra WQB8RrsLWaZv8yYpj3oU60AQa6fZgaMfjKg/l9NCI5Rp0ZfdLOW+YBbRvINNrq3AcQq5 jkniuFGxXGPjO1U/J6h42t5aSjhXAlgcpXZXupTURyxszFcHIxLzkpL3VKhDEjRepN5y 71mgJlPZ6VN2oVS5oKVg81fE41NSOleJLIm/pLyH+PT5WMDpeD1vLAQK+8O6438u/XV2 bUUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=1m81KYTNI5xiAz5GNuYsuYiESjDQE78S9rozf7PQmcQ=; b=UhTKJmYedNus3Jmx0ck+wqj2OVqYMvhrPyFBvVtU3SLWAMmc+NzKiVOXGnW9iQLToH RuOpgnZZKsCNOyV5S1ylmSZvInpk4ALy4ml873TWVHT7uo0pJ15jQAXz1Zy+lBC+4yJv 83SggtM+g3aZv/7YOx0d9C5UqVhKbSQMeB9Bp8GPiZQfwk2UUHCYsAnQaJ6LSaHK4IWo RqJCiFLYpdJpmU0besXWz+Vka/8w+eUhK1XV/JDRVubvVje4oJJjJyEtZmewCYDaMKBz si8/EzDnluXLskIJYrloW9ZdBcXLgpeJSDidlaR4Wvjf0miGZbOGsPkKoQ1bW750Kiw5 rNrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A4zUZgV4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z9-20020a170902708900b00161a72f1966si18173945plk.421.2022.06.05.23.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 23:59:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A4zUZgV4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4CC1329CA3; Sun, 5 Jun 2022 23:27:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230019AbiFFG1I (ORCPT + 99 others); Mon, 6 Jun 2022 02:27:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229890AbiFFG1H (ORCPT ); Mon, 6 Jun 2022 02:27:07 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9465F29816; Sun, 5 Jun 2022 23:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654496825; x=1686032825; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wdDYJ5XqGQgotDlH0rFCdHOAVHtDqbqcv/4oCjtcY4I=; b=A4zUZgV4cVJvZ45p9572u95F0/ec887nDtj2lJ25lFO3u23AJ1iwEWMo 9UejRtSjBeIKCBr3cNoWNc+H/fnBP71HVGkEbF/hSY1VF9DZNXKONcXaY lGSO+iXbkvy4mEJdoprzizZhJUNJYnjLhFZcisV6zv0RCGuS/Nr9hDl1a weBt2B6p/xk2JcQPrc4oH85UTt7zOuPefO+fsx38G2n7K4cmCNolIfj5W tGYJUu4h1CGFmdRVxfSUGk4rvy4lo8DyIE8MUk1cWpQRCqVoBUDyBoewD QvAhEyQLTc4pah9gixynrj9uQG47JH29sStULb4kz/c5AnQVymPe2GHS1 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="276510333" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="276510333" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2022 23:26:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="532005010" Received: from linux.intel.com ([10.54.29.200]) by orsmga003.jf.intel.com with ESMTP; 05 Jun 2022 23:26:56 -0700 Received: from linux.intel.com (vwong3-iLBPG3.png.intel.com [10.88.229.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id 953F658068A; Sun, 5 Jun 2022 23:26:53 -0700 (PDT) Date: Mon, 6 Jun 2022 14:26:50 +0800 From: Wong Vee Khee To: Christophe JAILLET Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] stmmac: intel: Fix an error handling path in intel_eth_pci_probe() Message-ID: <20220606062650.GA31937@linux.intel.com> References: <1ac9b6787b0db83b0095711882c55c77c8ea8da0.1654462241.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ac9b6787b0db83b0095711882c55c77c8ea8da0.1654462241.git.christophe.jaillet@wanadoo.fr> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 05, 2022 at 10:50:48PM +0200, Christophe JAILLET wrote: > When the managed API is used, there is no need to explicitly call > pci_free_irq_vectors(). > > This looks to be a left-over from the commit in the Fixes tag. Only the > .remove() function had been updated. > > So remove this unused function call and update goto label accordingly. > > Fixes: 8accc467758e ("stmmac: intel: use managed PCI function on probe and resume") > Signed-off-by: Christophe JAILLET > --- > drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > LGTM Reviewed-by: Wong Vee Khee