Commit-ID:  13b5be56d1c5ed302df53f6dfbe19b9f4e3fd3ce
Gitweb:     http://git.kernel.org/tip/13b5be56d1c5ed302df53f6dfbe19b9f4e3fd3ce
Author:     Thomas Gleixner <t...@linutronix.de>
AuthorDate: Tue, 4 Mar 2014 23:51:34 +0100
Committer:  Thomas Gleixner <t...@linutronix.de>
CommitDate: Tue, 4 Mar 2014 23:53:33 +0100

x86: hyperv: Fix brown paperbag typos reported by Fenguangs build robot

Reported-by: fengguang...@intel.com
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Cc: K. Y. Srinivasan <k...@microsoft.com>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: linuxdrivers <de...@linuxdriverproject.org>
Cc: x86 <x...@kernel.org>
---
 arch/x86/kernel/cpu/mshyperv.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c
index 316e106..a6f5f35 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;
 EXPORT_SYMBOL_GPL(ms_hyperv);
 
 #if IS_ENABLED(CONFIG_HYPERV)
-static irq_handler_t *vmbus_handler;
+static irq_handler_t vmbus_handler;
 
 void hyperv_vector_handler(struct pt_regs *regs)
 {
@@ -49,7 +49,7 @@ void hyperv_vector_handler(struct pt_regs *regs)
        set_irq_regs(old_regs);
 }
 
-int hv_setup_vmbus_irq(int irq, irq_handler_t *handler, void *dev_id)
+int hv_setup_vmbus_irq(int irq, irq_handler_t handler, void *dev_id)
 {
        vmbus_handler = handler;
        /*
@@ -61,7 +61,7 @@ int hv_setup_vmbus_irq(int irq, irq_handler_t *handler, void 
*dev_id)
                                hyperv_callback_vector);
 }
 
-void hv_remove_vmbus_irq(unsigned int irq, void *dev_id)
+void hv_remove_vmbus_irq(int irq, void *dev_id)
 {
        /* We have no way to deallocate the interrupt gate */
        vmbus_handler = NULL;
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to