Re: [PATCH 008/141] IB/hfi1: Fix fall-through warnings for Clang

From: Mike Marciniszyn
Date: Sun Nov 22 2020 - 09:30:35 EST



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@xxxxxxxxxx>

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

Mike

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