IB/qedr: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:28:56 +0000 (12:28 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 23 Nov 2020 19:54:11 +0000 (15:54 -0400)
commitc6191f83be6a9d671c5e9bff99e5d03e338252f8
treebe1dd46d22df43e9795bf68abfed2d71ffc1011c
parent667d457fa84f27c3cd9e0f96557422e398f96fee
IB/qedr: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of just letting the code
fall through to the next case.

Link: https://lore.kernel.org/r/8d7cf00ec3a4b27a895534e02077c2c9ed8a5f8e.1605896059.git.gustavoars@kernel.org
Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Michal KalderonĀ <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/qedr/main.c