summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/jffs2/src/rtems-jffs2-config.h
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-08-23 17:36:59 -0500
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-20 13:25:32 +0200
commit413a00db20ff45d4212f099440927cebfe706cff (patch)
treefa618d0c50c5defb4244ee047a4a6a11ae050047 /cpukit/libfs/src/jffs2/src/rtems-jffs2-config.h
parentjffs2: fix jffs2 mounting failure (diff)
downloadrtems-413a00db20ff45d4212f099440927cebfe706cff.tar.bz2
treewide: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary fall-through markings when it is the case. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to '')
-rw-r--r--cpukit/libfs/src/jffs2/src/rtems-jffs2-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libfs/src/jffs2/src/rtems-jffs2-config.h b/cpukit/libfs/src/jffs2/src/rtems-jffs2-config.h
index 1017a71c1f..56395e1528 100644
--- a/cpukit/libfs/src/jffs2/src/rtems-jffs2-config.h
+++ b/cpukit/libfs/src/jffs2/src/rtems-jffs2-config.h
@@ -33,3 +33,4 @@
#define __ECOS 1
#define KBUILD_MODNAME "JFFS2"
+#define fallthrough __attribute__((__fallthrough__))