Subject: [PATCH v3 1/2] acpi: Fix proper return code for function acpi_gsi_to_irq

From: [email-masked] (Marc Zyngier)
Date: Tue, 12 Jan 2016 18:59:36 +0000

On 07/11/15 00:51, Loc Ho wrote:
> The function acpi_gsi_to_irq should returns 0 on success as upper function
> caller expect an 0 for sucesss.

I have to ask: why do you feel the need to change an API that behaves
like the rest of the IRQ allocation functions (at least when it comes to
its return value)?

0 is defined as an invalid interrupt, and I wish it stayed that way.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...