forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/x86/boot/cpucheck.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
....@@ -113,7 +111,7 @@
113111 {
114112 int err;
115113
116
- memset(&cpu.flags, 0, sizeof cpu.flags);
114
+ memset(&cpu.flags, 0, sizeof(cpu.flags));
117115 cpu.level = 3;
118116
119117 if (has_eflag(X86_EFLAGS_AC))