projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6efb943
)
Compiler Attributes: Add continue in comment
author
Wei Ming Chen
<jj251510319013@gmail.com>
Thu, 6 May 2021 12:30:51 +0000
(20:30 +0800)
committer
Miguel Ojeda
<ojeda@kernel.org>
Wed, 12 May 2021 18:18:46 +0000
(20:18 +0200)
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>
include/linux/compiler_attributes.h
patch
|
blob
|
history
diff --git
a/include/linux/compiler_attributes.h
b/include/linux/compiler_attributes.h
index c043b8d2b17bf9a9bc5d441f801527937b39a50c..183ddd5fd07243a02729da72dadd91d8ccad856e 100644
(file)
--- 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];
*