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

Borislav Petkov bp at alien8.de
Tue Jan 12 06:36:53 PST 2016


On Mon, Jan 11, 2016 at 02:41:41PM -0800, Tuan Phan wrote:
> It will be problem because irq number can be 0 on X86?

tglx says not really but historically irq 0 has been the timer irq.

How about returning a negative value on error and positive or 0 for an
IRQ?

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.



More information about the linux-arm-kernel mailing list