Commit 7d2201d4 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Mimi Zohar

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: https://github.com/KSPP/linux/issues/115Signed-off-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent 531bf6a8
......@@ -119,6 +119,7 @@ static void ima_show_template_data_ascii(struct seq_file *m,
default:
break;
}
break;
default:
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment