commit | 405010df1dd657151543d93b01578b0c533788b5 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Fri May 31 19:59:20 2013 +0800 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Jun 10 08:43:28 2013 -0400 |
tree | 150f8779b559e3580b6a6665b0c99c5f0922400a | |
parent | 8d0b8801c9e4c2c6b20cdac74dbab16facce7653 [diff] |
xen-pciback: fix error return code in pcistub_irq_handler_switch() Fix to return -ENOENT in the pcistub_device_find() and pci_get_drvdata() error handling case instead of 0(overwrite to 0 by str_to_slot()), as done elsewhere in this function. Acked-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>