[tip:x86/apic] x86/apic: Trivial coding style fixes
From: tip-bot for Yi Wang
Date: Mon Jul 30 2018 - 14:01:10 EST
Commit-ID: 843c408905010fbc44a564d2de6a3cd68d986abf
Gitweb: https://git.kernel.org/tip/843c408905010fbc44a564d2de6a3cd68d986abf
Author: Yi Wang <wang.yi59@xxxxxxxxxx>
AuthorDate: Fri, 27 Jul 2018 14:15:03 +0800
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Mon, 30 Jul 2018 19:56:30 +0200
x86/apic: Trivial coding style fixes
There is inconsistent indenting in calibrate_APIC_clock() and
activate_managed(). Remove the surplus TAB.
Signed-off-by: Yi Wang <wang.yi59@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Reviewed-by: Jiang Biao <jiang.biao2@xxxxxxxxxx>
Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
Cc: hpa@xxxxxxxxx
Cc: douly.fnst@xxxxxxxxxxxxxx
Cc: jgross@xxxxxxxx
Cc: ville.syrjala@xxxxxxxxxxxxxxx
Cc: len.brown@xxxxxxxxx
Cc: gregkh@xxxxxxxxxxxxxxxxxxx
Cc: zhong.weidong@xxxxxxxxxx
Link: https://lkml.kernel.org/r/1532672103-32250-1-git-send-email-wang.yi59@xxxxxxxxxx
---
arch/x86/kernel/apic/apic.c | 2 +-
arch/x86/kernel/apic/vector.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 2aabd4cb0e3f..00011bc33263 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -937,7 +937,7 @@ static int __init calibrate_APIC_clock(void)
if (levt->features & CLOCK_EVT_FEAT_DUMMY) {
pr_warning("APIC timer disabled due to verification failure\n");
- return -1;
+ return -1;
}
return 0;
diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c
index a75de0792942..c943499375c3 100644
--- a/arch/x86/kernel/apic/vector.c
+++ b/arch/x86/kernel/apic/vector.c
@@ -415,7 +415,7 @@ static int activate_managed(struct irq_data *irqd)
pr_err("Managed startup irq %u, no vector available\n",
irqd->irq);
}
- return ret;
+ return ret;
}
static int x86_vector_activate(struct irq_domain *dom, struct irq_data *irqd,