projects
/
platform
/
kernel
/
linux-tizen-modules-source.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa9d66
)
kdbus: use fallthrough keyword when available
90/306890/2
author
Marek Szyprowski
<m.szyprowski@samsung.com>
Wed, 28 Feb 2024 10:19:03 +0000
(11:19 +0100)
committer
Marek Szyprowski
<m.szyprowski@samsung.com>
Fri, 1 Mar 2024 22:08:11 +0000
(23:08 +0100)
Since kernel v5.5 the fallthrough keyword is available and prefered to be
used instead of the "/* fallthrough */" comment.
Change-Id: I713a6a869a343152f71f0dd69e4bd001a469aa38
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
kernel/kdbus/fs.c
patch
|
blob
|
history
diff --git
a/kernel/kdbus/fs.c
b/kernel/kdbus/fs.c
index 25718ebc737a9cf88195f12a095bcfe0587ae3c7..5eb7973ee4e95cc5675af9ad3772fac61e8ee486 100644
(file)
--- a/
kernel/kdbus/fs.c
+++ b/
kernel/kdbus/fs.c
@@
-495,7
+495,11
@@
void kdbus_fs_flush(struct kdbus_node *node)
if (IS_ERR_OR_NULL(parent_dentry))
goto exit;
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,5,0))
+ fallthrough;
+#else
/* fallthrough */
+#endif
case KDBUS_NODE_BUS:
if (WARN_ON(!node->name))
goto exit;