ACPI / APEI: fix error return code in ghes_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 3 Jun 2013 02:08:39 +0000 (02:08 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 5 Jun 2013 11:11:47 +0000 (13:11 +0200)
commita98d4f64a20b2b88697e7e08c871144a7e3f0ec4
tree1107c02d00d96c24df3cbb3f69622e4631cfdeaa
parent780a6ec640a3fed671fc2c40e4dd30c03eca3ac3
ACPI / APEI: fix error return code in ghes_probe()

Fix to return a negative error code in the acpi_gsi_to_irq() and
request_irq() error handling case instead of 0, as done elsewhere
in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/ghes.c