Re: [PATCH] gdbstub: mark expected switch fall-throughs

2019-02-26 Thread Gustavo A. R. Silva
On 2/26/19 2:47 PM, Jason Wessel wrote: > We'll have to fix them at some point. > Yep. And we're about to fix them all. > Acked-by: Jason Wessel > Thanks, Jason. -- Gustavo > > Cheers, > Jason. > > On 2/26/19 1:16 PM, Gustavo A. R. Silva wrote: >> In preparation to enabling -Wimplicit-

Re: [PATCH] gdbstub: mark expected switch fall-throughs

2019-02-26 Thread Jason Wessel
We'll have to fix them at some point. Acked-by: Jason Wessel Cheers, Jason. On 2/26/19 1:16 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warnings: kernel/debug/gdbs

[PATCH] gdbstub: mark expected switch fall-throughs

2019-02-26 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warnings: kernel/debug/gdbstub.c: In function ‘gdb_serial_stub’: kernel/debug/gdbstub.c:1031:7: warning: this statement may fall through [-Wimplicit-fallthr