Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1139616pxt; Sat, 7 Aug 2021 01:51:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSNpl/MIQVS5nfVOhF1ObSabDc57W4+wR8CkkaeqjKOD2/cx+KjmKn6YFgmH2/6V5bspYV X-Received: by 2002:a17:907:75cd:: with SMTP id jl13mr13278149ejc.327.1628326304002; Sat, 07 Aug 2021 01:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628326303; cv=none; d=google.com; s=arc-20160816; b=lcA8J2dXQyzGixJKjIshGNi+wZvN1P9LGopQhdAujQohk72BGDflaHzKbspUqttV3A SGR/WOHJseP2b8tXyio7JvEqrX2WIUwpomv0Beh0JXIOoBdhunmpme4qiyZEnM2OGGAc 8DnIsOKuq+gB4qqgor9VSgeVU+SeCDUI+DEp58EL9ruMJTyxwqwW7PEi+vcmwT4csge3 ip7DXSqmkv2D1g37wYVPzhMYyr88HrmtXbz2/i8l5KTqmJLn9SU9BJmoZKnYKI64eICL tAMHmQWIw4FxVo3Cg+0G5TkqZu5LVgr6vwGfXMWeE5YfcvEMVOmGoJnIaP1aoNHNgUfE dOAg== 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=8yeohapqnSC+Fte8Yf1mcbeZsbU2SyEa74s6gdjoDv0=; b=dD8fqI69jA8XqR5cvfqGgJBLYaTRoDESOcswoVD48LGYWooiGYgDiFARXJdm0eVYFr oV+c19tjcSTf7cVpiw5ybSOusRw3cRonWmDkgDsZrUe+uFPlcwHi6eTz+icUH4/r1h6L x0DN3Qr2EBgxJRYw/62p3NvM0nMssPQTXn/QalzM1bFKgCqr+mkO0m1bvXvoals0iZwN RQmSzCEu2tFhLX6EFynyrQOcTse10otgQLuU6jPQY/Je14VEeIiAr/6oNPpPQCR2+C+q ACt5y3KHhwO+mp+I5DfuZsMKCb0W6INApeqt4UEeHL6JeVZulj6RtWPowxmoZixw58Rv WUrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DXy0hgpB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si4449182ejk.489.2021.08.07.01.51.20; Sat, 07 Aug 2021 01:51:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DXy0hgpB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231613AbhHGIuZ (ORCPT + 99 others); Sat, 7 Aug 2021 04:50:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:44338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231558AbhHGIuY (ORCPT ); Sat, 7 Aug 2021 04:50:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 2777B60EC0; Sat, 7 Aug 2021 08:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628326207; bh=L03Kf59/VG57iU49qSzYSwXV02Uek8uVwPIGgByYm8Q=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=DXy0hgpBuabZhcZziSBIvvEk+2Iu8Y0q9LCl7kLAIgCeXesyKkbPlPyWwC/krgHqo h+WYVwaHSSGDFos/QslVBKrlXGu+exFMAedKLupGObbI5XD0j0C560//WCT3qflbCr 3LN16IeQfGqzCVhFGI4oJckAXwdBh0c8zY/MvN/LaT2AAG6puKiYKwSuu+v5CxTux8 yeNsuFH/XSgy2pDRWJnLsuyvHMuyv1jeoNigDJkxb+U8S1lfldkPT2dpKeKRzFrufW FOpw+NIYuaK/Lkq0dQk+UATlTBhh+LLcRm0WAiq5h0QDH4T4fYB1e5azEhQ7dUR3Uq LUMBkLVkH51Dw== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 0EFDE609F1; Sat, 7 Aug 2021 08:50:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162832620705.3915.11584546852979312079.git-patchwork-notify@kernel.org> Date: Sat, 07 Aug 2021 08:50:07 +0000 References: <20210806191339.576318-1-nathan@kernel.org> In-Reply-To: <20210806191339.576318-1-nathan@kernel.org> To: Nathan Chancellor Cc: peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, davem@davemloft.net, kuba@kernel.org, mcoquelin.stm32@gmail.com, ndesaulniers@google.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, samitolvanen@google.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 6 Aug 2021 12:13:40 -0700 you wrote: > When compiling with clang in certain configurations, an objtool warning > appears: > > drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.o: warning: objtool: > ipq806x_gmac_probe() falls through to next function phy_modes() > > This happens because the unreachable annotation in the third switch > statement is not eliminated. The compiler should know that the first > default case would prevent the second and third from being reached as > the comment notes but sanitizer options can make it harder for the > compiler to reason this out. > > [...] Here is the summary with links: - net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe() https://git.kernel.org/netdev/net-next/c/4367355dd909 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html