From 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:44:59 +0000 Subject: [PATCH] gmac get mac form eeprom --- 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