Skip to content

Commit 7d2201d

Browse files
GustavoARSilvamimizohar
authored andcommitted
ima: Fix fall-through warning for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a fall-through warning by explicitly adding a break statement instead of just letting the code fall through to the next case. Link: KSPP#115 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
1 parent 531bf6a commit 7d2201d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

security/integrity/ima/ima_template_lib.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ static void ima_show_template_data_ascii(struct seq_file *m,
119119
default:
120120
break;
121121
}
122+
break;
122123
default:
123124
break;
124125
}

0 commit comments

Comments
 (0)