[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2ea849847ae4bda204192b00cc6fb87d@208suo.com>
Date: Fri, 21 Jul 2023 08:44:27 +0000
From: sunran001@...suo.com
To: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com, x86@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] x86/apic: Do not initialise globals to 0
Fix the following checkpatch error:
ERROR: do not initialise globals to 0
Signed-off-by: Ran Sun <sunran001@...suo.com>
---
arch/x86/kernel/apic/apic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index af49e24b46a4..8d46733ad94b 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -202,7 +202,7 @@ static struct resource lapic_resource = {
.flags = IORESOURCE_MEM | IORESOURCE_BUSY,
};
-unsigned int lapic_timer_period = 0;
+unsigned int lapic_timer_period;
static void apic_pm_activate(void);
Powered by blists - more mailing lists