[PATCH 004/141] drm/amdgpu: Fix fall-through warnings for Clang

Gustavo A. R. Silva gustavoars at kernel.org
Mon Nov 23 22:42:54 UTC 2020


On Fri, Nov 20, 2020 at 05:42:38PM -0500, Alex Deucher wrote:
> On Fri, Nov 20, 2020 at 1:24 PM Gustavo A. R. Silva
> <gustavoars at kernel.org> wrote:
> >
> > In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
> > warnings by explicitly adding multiple break statements instead of just
> > letting the code fall through to the next case.
> >
> > Link: https://github.com/KSPP/linux/issues/115
> > Signed-off-by: Gustavo A. R. Silva <gustavoars at kernel.org>
> 
> Applied.  Thanks!

Thanks, Alex.
--
Gustavo


More information about the dri-devel mailing list