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

Tuan Phan tphan at apm.com
Mon Jan 11 14:41:41 PST 2016


On Mon, Jan 11, 2016 at 2:13 PM, Borislav Petkov <bp at alien8.de> wrote:

>That function can be simplified. It should be made to return the irq
>number on success and 0 on failure. No need for that *irq output
>argument.

It will be problem because irq number can be 0 on X86?

-- 
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is 
for the sole use of the intended recipient(s) and contains information that 
is confidential and proprietary to Applied Micro Circuits Corporation or 
its subsidiaries. It is to be used solely for the purpose of furthering the 
parties' business relationship. All unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.



More information about the linux-arm-kernel mailing list