Skip to contentSkip to conversation

Compiler Attributes: Add continue in comment

PATCH In review Wei Ming Chen 2 participants 2 messages May 6, 2021 Compiler attributes

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Compiler Attributes: Add continue in comment

Add "continue;" for switch/case block according to Doc[1]

[1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

---
 include/linux/compiler_attributes.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/compiler_attributes.h +1 -0
index c043b8d2b17b..183ddd5fd072 100644
@@ -199,6 +199,7 @@
  * must end with any of these keywords:
  *   break;
  *   fallthrough;
+ *   continue;
  *   goto <label>;
  *   return [expression];
  *
Signature · 1 line
2.25.1