IB/hfi1: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 21 Jul 2020 13:34:55 +0000 (08:34 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 24 Jul 2020 19:59:55 +0000 (16:59 -0300)
commit6f24b15925ec83e65d4a143ef560368b5b6bd8ad
tree718eeb671ef0b182c40fbc2a436098b656e18601
parent9b8d846924856570625b93f83ae0624391193bce
IB/hfi1: Use fallthrough pseudo-keyword

Replace the existing /* fall through */ comments and its variants with the
new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
fall-through markings when it is the case.

[1] https://www.kernel.org/doc/html/v5.7-rc7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

Link: https://lore.kernel.org/r/20200721133455.GA14363@embeddedor
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hfi1/firmware.c
drivers/infiniband/hw/hfi1/mad.c
drivers/infiniband/hw/hfi1/pio.c
drivers/infiniband/hw/hfi1/pio_copy.c
drivers/infiniband/hw/hfi1/platform.c
drivers/infiniband/hw/hfi1/qp.c
drivers/infiniband/hw/hfi1/qsfp.c
drivers/infiniband/hw/hfi1/rc.c
drivers/infiniband/hw/hfi1/sdma.c
drivers/infiniband/hw/hfi1/tid_rdma.c
drivers/infiniband/hw/hfi1/uc.c