]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
security: keys: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:32:20 +0000 (12:32 -0600)
committerDavid Howells <dhowells@redhat.com>
Thu, 21 Jan 2021 16:16:08 +0000 (16:16 +0000)
commit634c21bb9867e06221ee1527c5e157e01cd7712c
tree28b6919ddfaa2376a96024635a62a7c8745bf088
parent19c329f6808995b142b3966301f217c831e7cf31
security: keys: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Ben Boeckel <mathstuf@gmail.com>
security/keys/process_keys.c