summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorYu Peng <pengyu@kylinos.cn>2025-10-30 15:37:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-02 14:56:39 +0300
commit3ef4a51315a92fb88f7541516af1b19aa0305712 (patch)
treea66646e26e7488e8c92df6079e12dba4f7f2cb48 /scripts/lib
parent63859f6da00d6f6b7ed5b64453d9ff7f9b8d24c7 (diff)
downloadlinux-3ef4a51315a92fb88f7541516af1b19aa0305712.tar.xz
x86/microcode: Mark early_parse_cmdline() as __init
[ Upstream commit ca8313fd83399ea1d18e695c2ae9b259985c9e1f ] Fix section mismatch warning reported by modpost: .text:early_parse_cmdline() -> .init.data:boot_command_line The function early_parse_cmdline() is only called during init and accesses init data, so mark it __init to match its usage. [ bp: This happens only when the toolchain fails to inline the function and I haven't been able to reproduce it with any toolchain I'm using. Patch is obviously correct regardless. ] Signed-off-by: Yu Peng <pengyu@kylinos.cn> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/all/20251030123757.1410904-1-pengyu@kylinos.cn Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions