]> git.baikalelectronics.ru Git - kernel.git/commit
tee: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:33:19 +0000 (12:33 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 17 May 2021 23:40:54 +0000 (18:40 -0500)
commit6e1943a424774905f2a2597e8e975eebffc7ca26
tree6e83ac65986cfefe3eb5617be5095f8a566259ad
parent87d9f8b77b5545016adf3cfc494e6ea6899acca7
tee: 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 letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/tee/tee_core.c