Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3909131pxb; Fri, 11 Feb 2022 10:22:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxU9//sUEVy1yj10/O4TyQOQJOcRj64i+hmfQwSTHk+blsOwFzRK7SOjmuoP59hjpRue9za X-Received: by 2002:a63:9514:: with SMTP id p20mr2360694pgd.218.1644603752682; Fri, 11 Feb 2022 10:22:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644603752; cv=none; d=google.com; s=arc-20160816; b=WY5hATO/3kuctOPsQ2laaup8FOWxrAKPSdDSoIr8hDiVy0Y9isvi60/4syUMyhOIYa YkJvJ0SCCiL/jQBsHmPmju6Zzi5I6Iy2iTFPb56socGniZvfbw1fbqvPgIdVdrn/Vosv 5OCsErP0gtlrjTDZdeGjbzTyv0lC6p4/dwYu/Rt1FYbp7UyyPaXN2ZraCaQISRE8hXNI WJ0L4LXxE2SrepiYCFHNqcWvoFwDtp34PS9nXbYc22ftYsdi8VqL/kH1C94PSBwFK76Q o1NdgfXDbcAD+KIPyzEzNavoAaujxGrv+0kk4PCq+k4XgxdXleufeN10UzswGTW2j4kB MdkA== 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=+shKHYpRCNtgBzd+Eax8VUcPmT0IhRdqKYmO011Ujng=; b=bLms8T6a4yH93HL/sT0KT+E+JbVICRlkMasrZ5ksVhY+eRK+BLjZdHeu/yKslXuC6X xrcmJ6s5Un3dMFsQCociBmfPn0tesxXW/huTUi8ejUMKFP9WgyDsOsedSzyv763ZP0iP NyEIgm97MlQ2t4YB1Y+nZBjhBIk61S9M/xmWHWbUyfZJgUiTUb+lWozWYD5ayFZasXeg NtvnwwuqGUwhSUT0szGKmraNPtwsnWrni7YQuE9bJiwUBbhWLHQFOgiF9P2Oh848Am3o 4JRTdIF4bw+4nuqLJAvFlaNqxjoczQAIGt8ImqeoYzY6KwzfsZ2EuXFbKBpNBh7C3Pns sJyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T7UnPzn1; 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 r10si5501742plo.33.2022.02.11.10.22.18; Fri, 11 Feb 2022 10:22:32 -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=T7UnPzn1; 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 S243704AbiBJPkK (ORCPT + 99 others); Thu, 10 Feb 2022 10:40:10 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243694AbiBJPkJ (ORCPT ); Thu, 10 Feb 2022 10:40:09 -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 83D3C9C; Thu, 10 Feb 2022 07:40:09 -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 19E6761C58; Thu, 10 Feb 2022 15:40:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 6FF68C340EB; Thu, 10 Feb 2022 15:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644507608; bh=ODADg4qCJeA1twJ8DMe06Pzn5JoIJqAvj52kpuB2H7k=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=T7UnPzn1kxUpqHG5GVAwsPMZAyL5LvbIDnBnsCDfxUekvkBnfWOP/pYB6mmUO3dNf qfdHOgKlh2GL/7IsUGGZ+0lSW8bOxXxuElrmMvaeu5Vnz47wUqVYLH6kmF65rIca85 bPUsfQ8qxSHnH7sSeIoc4283qwrNX1rMEjcX1Po+nswEvVMQAVuD5f5Y1RwV+l6wFW tyMfpKAbwM8EAA1XzI8kga2p1uiE8NBfejhEdYNJSI1cGfrKaTCMHofY0Ou7pLe0ie 9YKtJRlwkvmw0ZlJpqsIyudsPI2UWdhj8w2bvQNGRTUI/HMlD7KZEr5tWUwf15bvr0 qXYyMUrRd3TPw== 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 56F8EE6D3DE; Thu, 10 Feb 2022 15:40:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: mpls: Fix GCC 12 warning From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164450760835.15967.16970904238415952820.git-patchwork-notify@kernel.org> Date: Thu, 10 Feb 2022 15:40:08 +0000 References: <1644452918-576-1-git-send-email-victor.erminpour@oracle.com> In-Reply-To: <1644452918-576-1-git-send-email-victor.erminpour@oracle.com> To: Victor Erminpour Cc: davem@davemloft.net, kuba@kernel.org, bpoirier@nvidia.com, l4stpr0gr4m@gmail.com, jiapeng.chong@linux.alibaba.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, trivial@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,T_SCC_BODY_TEXT_LINE 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 Wed, 9 Feb 2022 16:28:38 -0800 you wrote: > When building with automatic stack variable initialization, GCC 12 > complains about variables defined outside of switch case statements. > Move the variable outside the switch, which silences the warning: > > ./net/mpls/af_mpls.c:1624:21: error: statement will never be executed [-Werror=switch-unreachable] > 1624 | int err; > | ^~~ > > [...] Here is the summary with links: - net: mpls: Fix GCC 12 warning https://git.kernel.org/netdev/net/c/c4416f5c2eb3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html