]> git.baikalelectronics.ru Git - kernel.git/commit
i3c: master: cdns: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 29 Jun 2021 13:37:04 +0000 (08:37 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 29 Jun 2021 13:37:04 +0000 (08:37 -0500)
commitc64d755e2303e889063a2304bf868e8c369913b9
treef1e4f9953ec55b975a50a775bafcb88cc64e4cce
parent17f5cec9bae26ce5f5846b90a81e93d1c87ebf1c
i3c: master: cdns: Fix fall-through warning for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of 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@kernel.org>
drivers/i3c/master/i3c-master-cdns.c