mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user