forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/x86/boot/cmdline.c
....@@ -1,10 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* -*- linux-c -*- ------------------------------------------------------- *
23 *
34 * Copyright (C) 1991, 1992 Linus Torvalds
45 * Copyright 2007 rPath, Inc. - All Rights Reserved
5
- *
6
- * This file is part of the Linux kernel, and is made available under
7
- * the terms of the GNU General Public License version 2.
86 *
97 * ----------------------------------------------------------------------- */
108
....@@ -56,7 +54,7 @@
5654 /* else */
5755 state = st_wordcmp;
5856 opptr = option;
59
- /* fall through */
57
+ fallthrough;
6058
6159 case st_wordcmp:
6260 if (c == '=' && !*opptr) {
....@@ -131,7 +129,7 @@
131129 state = st_wordcmp;
132130 opptr = option;
133131 wstart = pos;
134
- /* fall through */
132
+ fallthrough;
135133
136134 case st_wordcmp:
137135 if (!*opptr)