crypto: rockchip: Use fallthrough pseudo-keyword

Replace /* fall through */ comment with pseudo-keyword macro fallthrough[1]

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

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I717c6a69079e0fa502a9fd11665bb47e51893ff3
This commit is contained in:
Tao Huang
2023-01-30 18:52:04 +08:00
parent f658eb3ee6
commit 1d40129dd7

View File

@@ -66,7 +66,7 @@ static int rk_get_bc(u32 algo, u32 mode, u32 *bc_val)
switch (algo) {
case CIPHER_ALGO_DES3_EDE:
*bc_val |= RK_CRYPTO_TDES_SELECT;
/* fall through */
fallthrough;
case CIPHER_ALGO_DES:
if (mode == CIPHER_MODE_ECB)
*bc_val = 0;