[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75Vc53u=Rgawnwn3nGCBn9Vqd24Z7fSkBiC35rzbC=VGKiQ@mail.gmail.com>
Date: Mon, 12 Jul 2021 14:22:30 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: kernel test robot <lkp@...el.com>
Cc: "Gustavo A. R. Silva" <gustavoars@...nel.org>,
clang-built-linux <clang-built-linux@...glegroups.com>,
kbuild-all@...ts.01.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
LKML <linux-kernel@...r.kernel.org>,
Kees Cook <keescook@...omium.org>
Subject: Re: [gustavoars-linux:for-next/kspp 5/5] kernel/debug/gdbstub.c:1049:4:
warning: fallthrough annotation in unreachable code
On Mon, Jul 12, 2021 at 2:11 PM kernel test robot <lkp@...el.com> wrote:
> All warnings (new ones prefixed by >>):
>
> >> kernel/debug/gdbstub.c:1049:4: warning: fallthrough annotation in unreachable code [-Wimplicit-fallthrough]
> fallthrough;
> ^
> include/linux/compiler_attributes.h:210:41: note: expanded from macro 'fallthrough'
> # define fallthrough __attribute__((__fallthrough__))
> ^
> 1 warning generated.
> 53197fc4954924 Jason Wessel 2010-04-02 1039 case 'Z': /* Break point set */
> 53197fc4954924 Jason Wessel 2010-04-02 1040 gdb_cmd_break(ks);
> 53197fc4954924 Jason Wessel 2010-04-02 1041 break;
> dcc7871128e994 Jason Wessel 2010-05-20 1042 #ifdef CONFIG_KGDB_KDB
> dcc7871128e994 Jason Wessel 2010-05-20 1043 case '3': /* Escape into back into kdb */
> dcc7871128e994 Jason Wessel 2010-05-20 1044 if (remcom_in_buffer[1] == '\0') {
> dcc7871128e994 Jason Wessel 2010-05-20 1045 gdb_cmd_detachkill(ks);
> dcc7871128e994 Jason Wessel 2010-05-20 1046 return DBG_PASS_EVENT;
> dcc7871128e994 Jason Wessel 2010-05-20 1047 }
> dcc7871128e994 Jason Wessel 2010-05-20 1048 #endif
> df561f6688fef7 Gustavo A. R. Silva 2020-08-23 @1049 fallthrough;
Obviously this should be inside ifdeffery. Easy to fix cases.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists