aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Wang <wang.yi59@zte.com.cn>2018-07-27 02:15:03 -0400
committerThomas Gleixner <tglx@linutronix.de>2018-07-30 13:56:30 -0400
commit843c408905010fbc44a564d2de6a3cd68d986abf (patch)
treeb8dad048b3ccfe13dfa6aa8fc160d9d230ddbcdc
parent2773397171ac4b6e794ba0b3e34c06cbaf29897a (diff)
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@zte.com.cn> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Cc: hpa@zytor.com Cc: douly.fnst@cn.fujitsu.com Cc: jgross@suse.com Cc: ville.syrjala@linux.intel.com Cc: len.brown@intel.com Cc: gregkh@linuxfoundation.org Cc: zhong.weidong@zte.com.cn Link: https://lkml.kernel.org/r/1532672103-32250-1-git-send-email-wang.yi59@zte.com.cn
-rw-r--r--arch/x86/kernel/apic/apic.c2
-rw-r--r--arch/x86/kernel/apic/vector.c2
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)
937 937
938 if (levt->features & CLOCK_EVT_FEAT_DUMMY) { 938 if (levt->features & CLOCK_EVT_FEAT_DUMMY) {
939 pr_warning("APIC timer disabled due to verification failure\n"); 939 pr_warning("APIC timer disabled due to verification failure\n");
940 return -1; 940 return -1;
941 } 941 }
942 942
943 return 0; 943 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)
415 pr_err("Managed startup irq %u, no vector available\n", 415 pr_err("Managed startup irq %u, no vector available\n",
416 irqd->irq); 416 irqd->irq);
417 } 417 }
418 return ret; 418 return ret;
419} 419}
420 420
421static int x86_vector_activate(struct irq_domain *dom, struct irq_data *irqd, 421static int x86_vector_activate(struct irq_domain *dom, struct irq_data *irqd,