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

There is a plan to build the kernel with -Wimplicit-fallthrough and
these places in the code produced warnings (W=1). Fix them up.

This commit remove the following warning:

  security/keys/process_keys.c:380:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  security/keys/process_keys.c:404:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  security/keys/process_keys.c:424:7: 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/process_keys.c