aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-03-04 17:51:34 -0500
committerThomas Gleixner <tglx@linutronix.de>2014-03-04 17:53:33 -0500
commit13b5be56d1c5ed302df53f6dfbe19b9f4e3fd3ce (patch)
treea9b6fb9bdcc8be2a904909c6ce31eef46c35617b
parent3c433679ab666fb76a9399679819a303989e8ead (diff)
x86: hyperv: Fix brown paperbag typos reported by Fenguangs build robot
Reported-by: fengguang.wu@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linuxdrivers <devel@linuxdriverproject.org> Cc: x86 <x86@kernel.org>
-rw-r--r--arch/x86/kernel/cpu/mshyperv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c
index 316e106e26f0..a6f5f351f7af 100644
--- a/arch/x86/kernel/cpu/mshyperv.c
+++ b/arch/x86/kernel/cpu/mshyperv.c
@@ -32,7 +32,7 @@ struct ms_hyperv_info ms_hyperv;
32EXPORT_SYMBOL_GPL(ms_hyperv); 32EXPORT_SYMBOL_GPL(ms_hyperv);
33 33
34#if IS_ENABLED(CONFIG_HYPERV) 34#if IS_ENABLED(CONFIG_HYPERV)
35static irq_handler_t *vmbus_handler; 35static irq_handler_t vmbus_handler;
36 36
37void hyperv_vector_handler(struct pt_regs *regs) 37void hyperv_vector_handler(struct pt_regs *regs)
38{ 38{
@@ -49,7 +49,7 @@ void hyperv_vector_handler(struct pt_regs *regs)
49 set_irq_regs(old_regs); 49 set_irq_regs(old_regs);
50} 50}
51 51
52int hv_setup_vmbus_irq(int irq, irq_handler_t *handler, void *dev_id) 52int hv_setup_vmbus_irq(int irq, irq_handler_t handler, void *dev_id)
53{ 53{
54 vmbus_handler = handler; 54 vmbus_handler = handler;
55 /* 55 /*
@@ -61,7 +61,7 @@ int hv_setup_vmbus_irq(int irq, irq_handler_t *handler, void *dev_id)
61 hyperv_callback_vector); 61 hyperv_callback_vector);
62} 62}
63 63
64void hv_remove_vmbus_irq(unsigned int irq, void *dev_id) 64void hv_remove_vmbus_irq(int irq, void *dev_id)
65{ 65{
66 /* We have no way to deallocate the interrupt gate */ 66 /* We have no way to deallocate the interrupt gate */
67 vmbus_handler = NULL; 67 vmbus_handler = NULL;