Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13b5be56 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

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



Reported-by: default avatar <fengguang.wu@intel.com>
Signed-off-by: default avatarThomas 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>
parent 3c433679
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;