ipmi/powernv: Fix error return code in ipmi_powernv_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 18 Jan 2018 01:43:19 +0000 (01:43 +0000)
committerCorey Minyard <cminyard@mvista.com>
Mon, 22 Jan 2018 14:10:37 +0000 (08:10 -0600)
commite749d328b0b450aa78d562fa26a0cd8872325dd9
treecf4f013e3a78e21e79b39636884fed955c8c057b
parent5516e21a1e95e9b9f39985598431a25477d91643
ipmi/powernv: Fix error return code in ipmi_powernv_probe()

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

Fixes: dce143c3381c ("ipmi/powernv: Convert to irq event interface")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_powernv.c