]> git.baikalelectronics.ru Git - kernel.git/commit
xen-platform: fix error return code in platform_pci_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 Jan 2014 13:11:05 +0000 (21:11 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 7 Jan 2014 14:59:51 +0000 (09:59 -0500)
commitfe6af645e4d0e173ef2e81e2a0abcc606901a57c
tree6d8ab4c1fd8e6dd3d44af77dbabfc88ad6724828
parent4f50cbe187be33324b9e416d213198893091979a
xen-platform: fix error return code in platform_pci_init()

Fix to return a negative error code from the error handling
case instead of 0, otherwise the error condition cann't be
reflected from the return value.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/platform-pci.c