Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14677761rwb; Mon, 28 Nov 2022 03:59:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf5DQV4qBh4UFzU5HjZ2TJZHJQo7g8vzFuTguCDatwblG3V95FU6meT0ylVmMOaTpgLocw+N X-Received: by 2002:a17:906:a397:b0:7ae:5381:bd02 with SMTP id k23-20020a170906a39700b007ae5381bd02mr41669907ejz.286.1669636783520; Mon, 28 Nov 2022 03:59:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669636783; cv=none; d=google.com; s=arc-20160816; b=kZemADPmDalcS5r6BxO3liZDp0v5E7iNgm+wWwJW9QJRuT03nmmVCoV0KCPHRAlTTg LwCImpM0vUqqJA5ySCb28F8VL/Bh2oOJ2OnnzOVb2NSd4DvDMbRNprGJdE2juLq1f03T 1BVsYBNtsVDGKnj5AFw5r8GMHk3wTZrZrHOttYBpxnlgbfOjNhvtoSRTVeOsYPDRmkOy l6IKtg/hMgWlba3NnIC0CFfbd0NkYToED3PRYfkviEh0V1+pDpI6a6RXOJo7zmndRzCh De9A7ESjC3V7Qmyoh/ft5AOnOiMJaBbrrLa2V/IfiB+i52SyB06c9prmmIswHIm/YYV2 0wAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=OfAE+ZGRmxpjtb6DyJyCazmsB5Ig4pS8QFWENvRnWGs=; b=WEtvSxb6AYZpv2UZof8rkFersYMfzpiZDgzPdUZloqvy2qpRgjtdiniWyCAKftxqje lTL7zldB9ZKrJIPFGmCpLB+T4TmBDsn3gd0wUXaAA+GTJCnYB3e1k+LhLx+HAD1BD7AR RFM2Pg5JDl3iWiQoS/xgDcKOBg27rwRNOYGWDQKd2Ro/4Oe/mMaakllFFYWarSHyQe/U apFMVDIjhFHjCynqjz0plgVJoi0DzyWSPH4/1BERf0XuqI8SRFc0UU7Fm8/02KBTO9I0 xcID8wyyBC4xc+ViP7dXrCt7Vt33+zKPTqUJafbwsz6flynTW56/tFpbymwBgJbQy1yK Fw4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gt+DrNEk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l2-20020a50cbc2000000b00468f6919522si8840608edi.564.2022.11.28.03.59.23; Mon, 28 Nov 2022 03:59:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gt+DrNEk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231140AbiK1LKk (ORCPT + 84 others); Mon, 28 Nov 2022 06:10:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229913AbiK1LKf (ORCPT ); Mon, 28 Nov 2022 06:10:35 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C013C193C0; Mon, 28 Nov 2022 03:10:32 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 58FCC610FB; Mon, 28 Nov 2022 11:10:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id AD5CFC43470; Mon, 28 Nov 2022 11:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669633831; bh=wHP7An3IN//nhGkndn+m0DMYj5VPZfioj+F/jzN/yE4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=gt+DrNEkKwzyK+tPq8z7RbUE4Tn/fuPO77SZSC6BbX0nCMG7gUFt9P0/BQHSlF9Of Zm2M/RFOyyZdtk0vuNTDqO2vyior87uTsm1N8Ra9xl8hIdXbSjsK4nntCGCWfte5oJ kBYn1fXs3waY8I04pw2LlMzT0r9iuLB1KXXxWhAxR3PkixxicJ/dhuxvjbVu1vGhNK yPVKhjUjPFI28vjNpn3XR8CegKfhrB1dBmFyQOGPgctn1hl6iwRKCvfgSq6PGnL0tI uI05ZP+TS3JFdYINTJwI3U4VgD3BFYGtbBUvE5KhgttOczMAtdFvO1wjmiAFqZa5da 0Q6YP8Qilj24w== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 89F64E29F3B; Mon, 28 Nov 2022 11:10:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: ethernet: ti: am65-cpsw: fix error handling in am65_cpsw_nuss_probe() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166963383155.22058.1909402777218010175.git-patchwork-notify@kernel.org> Date: Mon, 28 Nov 2022 11:10:31 +0000 References: <1669258989-18277-1-git-send-email-zhangchangzhong@huawei.com> In-Reply-To: <1669258989-18277-1-git-send-email-zhangchangzhong@huawei.com> To: Zhang Changzhong Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, grygorii.strashko@ti.com, jesse.brandeburg@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Thu, 24 Nov 2022 11:03:08 +0800 you wrote: > The am65_cpsw_nuss_cleanup_ndev() function calls unregister_netdev() > even if register_netdev() fails, which triggers WARN_ON(1) in > unregister_netdevice_many(). To fix it, make sure that > unregister_netdev() is called only on registered netdev. > > Compile tested only. > > [...] Here is the summary with links: - [net] net: ethernet: ti: am65-cpsw: fix error handling in am65_cpsw_nuss_probe() https://git.kernel.org/netdev/net/c/46fb6512538d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html