[PATCH v3 1/2] acpi: Fix proper return code for function acpi_gsi_to_irq
From: Marc Zyngier <hidden>
Date: 2016-01-12 18:59:36
Also in:
linux-acpi
From: Marc Zyngier <hidden>
Date: 2016-01-12 18:59:36
Also in:
linux-acpi
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...