Re: [PATCH] drm/drm_vm: Mark expected switch fall-throughs

2019-02-18 Thread Daniel Vetter
On Mon, Feb 18, 2019 at 7:02 PM Gustavo A. R. Silva wrote: > > Hi Daniel, > > On 2/18/19 2:57 AM, Daniel Vetter wrote: > > On Fri, Feb 15, 2019 at 11:05:46AM -0600, Gustavo A. R. Silva wrote: > >> In preparation to enabling -Wimplicit-fallthrough, mark switch > >> cases where we are expecting to

Re: [PATCH] drm/drm_vm: Mark expected switch fall-throughs

2019-02-18 Thread Gustavo A. R. Silva
Hi Daniel, On 2/18/19 2:57 AM, Daniel Vetter wrote: > On Fri, Feb 15, 2019 at 11:05:46AM -0600, Gustavo A. R. Silva wrote: >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> Warning level 3 was used: -Wimplicit-fallthrough=3 >>

Re: [PATCH] drm/drm_vm: Mark expected switch fall-throughs

2019-02-18 Thread Daniel Vetter
On Fri, Feb 15, 2019 at 11:05:46AM -0600, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > Warning level 3 was used: -Wimplicit-fallthrough=3 > > Notice that, in this particular case, the code comment

[PATCH] drm/drm_vm: Mark expected switch fall-throughs

2019-02-16 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 3 was used: -Wimplicit-fallthrough=3 Notice that, in this particular case, the code comment is modified in accordance with what GCC is expecting to find. This patch is part