[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210506123051.7414-1-jj251510319013@gmail.com>
Date: Thu, 6 May 2021 20:30:51 +0800
From: Wei Ming Chen <jj251510319013@...il.com>
To: linux-kernel@...r.kernel.org
Cc: ojeda@...nel.org, Wei Ming Chen <jj251510319013@...il.com>
Subject: [PATCH] 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@...il.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
Powered by blists - more mailing lists