]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccb1c6790a0df3f699bf2024cc49f49a8e25c91f
tree1107c02d00d96c24df3cbb3f69622e4631cfdeaa
parentfa7a5647f28cc08fb4b008568c41f8a06777b4e9
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