]> git.ipfire.org Git - thirdparty/linux.git/commit - kernel/capability.c
capabilities:: annotate implicit fall through
authorMathieu Malaterre <malat@debian.org>
Mon, 14 Jan 2019 20:28:35 +0000 (21:28 +0100)
committerJames Morris <james.morris@microsoft.com>
Wed, 23 Jan 2019 03:42:27 +0000 (19:42 -0800)
commit39e83beb9109c662c0e1f79c674f96f94b452786
treed3b4abf41a922269fc1187e0681b6efecfdb578b
parent6c2976b06f6813768d3e61aeeb2b3fb04597a25f
capabilities:: 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).

In this particular case change put the fall through comment on a single
line so as to match the regular expression expected by GCC.

This commit remove the following warning:

  kernel/capability.c:95:3: 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>
kernel/capability.c