treewide: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary fall-through markings when it is the case. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Tento commit je obsažen v:
@@ -486,7 +486,7 @@ static void print_sh_insn(u32 memaddr, u16 insn)
|
||||
pr_cont("xd%d", rn & ~1);
|
||||
break;
|
||||
}
|
||||
/* else, fall through */
|
||||
fallthrough;
|
||||
case D_REG_N:
|
||||
pr_cont("dr%d", rn);
|
||||
break;
|
||||
@@ -495,7 +495,7 @@ static void print_sh_insn(u32 memaddr, u16 insn)
|
||||
pr_cont("xd%d", rm & ~1);
|
||||
break;
|
||||
}
|
||||
/* else, fall through */
|
||||
fallthrough;
|
||||
case D_REG_M:
|
||||
pr_cont("dr%d", rm);
|
||||
break;
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele