hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/x86/lib/cmdline.c
....@@ -1,6 +1,5 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
2
- * This file is part of the Linux kernel, and is made available under
3
- * the terms of the GNU General Public License version 2.
43 *
54 * Misc librarized functions for cmdline poking.
65 */
....@@ -59,7 +58,7 @@
5958 state = st_wordcmp;
6059 opptr = option;
6160 wstart = pos;
62
- /* fall through */
61
+ fallthrough;
6362
6463 case st_wordcmp:
6564 if (!*opptr) {
....@@ -90,7 +89,7 @@
9089 break;
9190 }
9291 state = st_wordskip;
93
- /* fall through */
92
+ fallthrough;
9493
9594 case st_wordskip:
9695 if (!c)
....@@ -152,7 +151,7 @@
152151
153152 state = st_wordcmp;
154153 opptr = option;
155
- /* fall through */
154
+ fallthrough;
156155
157156 case st_wordcmp:
158157 if ((c == '=') && !*opptr) {
....@@ -173,7 +172,7 @@
173172 break;
174173 }
175174 state = st_wordskip;
176
- /* fall through */
175
+ fallthrough;
177176
178177 case st_wordskip:
179178 if (myisspace(c))