From 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 13 May 2024 10:30:14 +0000 Subject: [PATCH] modify sin led gpio --- kernel/arch/x86/lib/cmdline.c | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/kernel/arch/x86/lib/cmdline.c b/kernel/arch/x86/lib/cmdline.c index 3261abb..b6da093 100644 --- a/kernel/arch/x86/lib/cmdline.c +++ b/kernel/arch/x86/lib/cmdline.c @@ -1,6 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2. * * Misc librarized functions for cmdline poking. */ @@ -59,7 +58,7 @@ state = st_wordcmp; opptr = option; wstart = pos; - /* fall through */ + fallthrough; case st_wordcmp: if (!*opptr) { @@ -90,7 +89,7 @@ break; } state = st_wordskip; - /* fall through */ + fallthrough; case st_wordskip: if (!c) @@ -152,7 +151,7 @@ state = st_wordcmp; opptr = option; - /* fall through */ + fallthrough; case st_wordcmp: if ((c == '=') && !*opptr) { @@ -173,7 +172,7 @@ break; } state = st_wordskip; - /* fall through */ + fallthrough; case st_wordskip: if (myisspace(c)) -- Gitblit v1.6.2