summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWei Ming Chen <jj251510319013@gmail.com>2021-05-06 20:30:51 +0800
committerMiguel Ojeda <ojeda@kernel.org>2021-05-12 20:18:46 +0200
commitca0760e7d79e2bb9c342e6b3f925b1ef01c6303e (patch)
tree43553c50b5a9dc388fc5b5ea2b540b0a4fd28277 /include/linux
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
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 Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/compiler_attributes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/compiler_attributes.h b/include/linux/compiler_attributes.h
index c043b8d2b17b..183ddd5fd072 100644
--- a/include/linux/compiler_attributes.h
+++ b/include/linux/compiler_attributes.h
@@ -199,6 +199,7 @@
* must end with any of these keywords:
* break;
* fallthrough;
+ * continue;
* goto <label>;
* return [expression];
*