]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: annotate more implicit fall throughs
authorMathieu Malaterre <malat@debian.org>
Thu, 21 Feb 2019 15:51:27 +0000 (10:51 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 21 Feb 2019 15:51:27 +0000 (10:51 -0500)
commitcc2e9779b36649449cc303b15d0d66b1eb9d9501
tree48c5e431f7e95a37cced816fa83f9e87f8e9ae54
parent987606d4c0b25e3497d9e2c99c83f6ee62bde767
ext4: annotate more 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 warnings:

  fs/ext4/indirect.c:1182:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  fs/ext4/indirect.c:1188:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  fs/ext4/indirect.c:1432:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  fs/ext4/indirect.c:1440:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
fs/ext4/indirect.c