lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 10 Feb 2022 15:40:08 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Victor Erminpour <victor.erminpour@...cle.com>
Cc:     davem@...emloft.net, kuba@...nel.org, bpoirier@...dia.com,
        l4stpr0gr4m@...il.com, jiapeng.chong@...ux.alibaba.com,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        trivial@...nel.org
Subject: Re: [PATCH] net: mpls: Fix GCC 12 warning

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ