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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 763C3C43334 for ; Thu, 16 Jun 2022 19:24:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378211AbiFPTYU (ORCPT ); Thu, 16 Jun 2022 15:24:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377879AbiFPTYU (ORCPT ); Thu, 16 Jun 2022 15:24:20 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A822345AED for ; Thu, 16 Jun 2022 12:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=lBT1G7RynwTp8dkQce0pOvTGiaRef51nMQ33LRkIZz8=; b=vZG+ci5Ghq6UHtpJxvwunyTfnV 1l3Oz0OL4FMBcOt1HHVrareO8q/hcsw6iu5a5dyu3nPiWuPsunYQg2VbQhsKd8F8yDT9R1yG4RkmL 9iN8anRKVeDZ/awLEEH4mmnUoNb22/GVhgn+jHdVBH9l7r30q8j4x7vhVWEvE1UUcQQw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1o1v6G-007EEF-C6; Thu, 16 Jun 2022 21:24:16 +0200 Date: Thu, 16 Jun 2022 21:24:16 +0200 From: Andrew Lunn To: Jiawen Wu Cc: netdev@vger.kernel.org Subject: Re: [PATCH net-next v6] net: txgbe: Add build support for txgbe Message-ID: References: <20220616095308.470320-1-jiawenwu@trustnetic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220616095308.470320-1-jiawenwu@trustnetic.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > +err_ioremap: > +err_alloc_etherdev: > + pci_release_selected_regions(pdev, > + pci_select_bars(pdev, IORESOURCE_MEM)); > +err_pci_reg: > +err_dma: > + pci_disable_device(pdev); > + return err; > +} It is unusual to have a label without any code. I would suggest you remove err_ioramp and err_pce_reg. Apart from that, and assuming the compiler testing does not find anything: Reviewed-by: Andrew Lunn Andrew