lkml.org 
[lkml]   [2020]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 008/141] IB/hfi1: Fix fall-through warnings for Clang
From
Date

On 11/20/2020 1:25 PM, Gustavo A. R. Silva 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.
>
> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>

Looks good and tested with TID rdma to cover the interlock case.

Mike

Tested-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>

\
 
 \ /
  Last update: 2020-11-22 15:31    [W:1.490 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site