* [PATCH] x86/apic: Do not initialise globals to 0
[not found] <20230721084245.6128-1-xujianghui@cdjrlc.com>
@ 2023-07-21 8:44 ` sunran001
0 siblings, 0 replies; only message in thread
From: sunran001 @ 2023-07-21 8:44 UTC (permalink / raw)
To: tglx, mingo, bp, dave.hansen, x86; +Cc: linux-kernel
Fix the following checkpatch error:
ERROR: do not initialise globals to 0
Signed-off-by: Ran Sun <sunran001@208suo.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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-21 8:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230721084245.6128-1-xujianghui@cdjrlc.com>
2023-07-21 8:44 ` [PATCH] x86/apic: Do not initialise globals to 0 sunran001
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox