Messages in this thread Patch in this message | | | From | Wei Ming Chen <> | Subject | [PATCH] Compiler Attributes: Add continue in comment | Date | Thu, 6 May 2021 20:30:51 +0800 |
| |
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> --- include/linux/compiler_attributes.h | 1 + 1 file changed, 1 insertion(+)
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]; * -- 2.25.1
| |