]> git.baikalelectronics.ru Git - kernel.git/commit
security: keys: annotate implicit fall through
authorMathieu Malaterre <malat@debian.org>
Mon, 14 Jan 2019 20:17:23 +0000 (21:17 +0100)
committerJames Morris <james.morris@microsoft.com>
Wed, 23 Jan 2019 03:47:47 +0000 (19:47 -0800)
commited9b7b50fb126414fe49dddf7921669b4f1ac523
tree59a6a11ace8dd199aa39e4f5b8dca0c5d46b3dbc
parent285b328f2cb426bfc167a2a0962fc40d5b453644
security: keys: annotate implicit fall through

There is a plan to build the kernel with -Wimplicit-fallthrough and
this place in the code produced a warning (W=1).

This commit remove the following warning:

  security/keys/keyring.c:248:10: warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/keys/keyring.c