Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2963563B3 for ; Sat, 21 Oct 2023 10:50:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dMMJJLi5" Received: by smtp.kernel.org (Postfix) with ESMTPS id 86B96C433C9; Sat, 21 Oct 2023 10:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697885421; bh=UBLlCnEVvwYlCti4O20ZYEFk3yYjavGU3fi94jtFESQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=dMMJJLi5OocQhNzCbIqur/k2IQdBdg2VWst9rkuINemJy2sKWdyxjfpbofKrKkiu8 wSm5Vli7voSo5IAR+eXqPcp7LtjcVjUE9abQHeTlcBWeQ0hpUBc1j0mUnr4m02K+DA INjSsR99YMXLlE5rgGYX8QgUZB5ggaOXmAigUynYA4MldelmwyjI52pZ3D4inyzZ8Z WVWfdqHCoTSj5IDgttTM7lL+nUDmNFYz+rB+hPvuFe997IUtW8K6rI+7RZ8HbW1VK+ T2xBLofRi61gW8aJycqE6LBIShsa/jmJo5jAVi7foiIAonuJ+IMgRfLPHYQIjx+WnJ QhhIMYNuCeK0g== 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 6EBEFC04DD9; Sat, 21 Oct 2023 10:50:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: xgene: Fix unused xgene_enet_of_match warning for !CONFIG_OF From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169788542145.19468.17978327279203895124.git-patchwork-notify@kernel.org> Date: Sat, 21 Oct 2023 10:50:21 +0000 References: <20231019182338.832913-1-robh@kernel.org> In-Reply-To: <20231019182338.832913-1-robh@kernel.org> To: Rob Herring Cc: iyappan@os.amperecomputing.com, keyur@os.amperecomputing.com, quan@os.amperecomputing.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, lkp@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Thu, 19 Oct 2023 13:23:37 -0500 you wrote: > Commit b0377116decd ("net: ethernet: Use device_get_match_data()") dropped > the unconditional use of xgene_enet_of_match resulting in this warning: > > drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2004:34: warning: unused variable 'xgene_enet_of_match' [-Wunused-const-variable] > > The fix is to drop of_match_ptr() which is not necessary because DT is > always used for this driver (well, it could in theory support ACPI only, > but CONFIG_OF is always enabled for arm64). > > [...] Here is the summary with links: - net: xgene: Fix unused xgene_enet_of_match warning for !CONFIG_OF https://git.kernel.org/netdev/net/c/d2ca43f30611 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html