Skip to content
Snippets Groups Projects
Commit ecd0a6f8 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman
Browse files

ima: Fix fall-through warnings for Clang

[ Upstream commit 28073eb0 ]

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break statements instead of just
letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115


Signed-off-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
Stable-dep-of: c7423dbd ("ima: Handle -ESTALE returned by ima_filter_rule_match()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 55e2430e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment