hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
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))