]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xen-pciback: fix error return code in pcistub_irq_handler_switch()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 31 May 2013 11:59:20 +0000 (19:59 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 10 Jun 2013 12:43:28 +0000 (08:43 -0400)
commit405010df1dd657151543d93b01578b0c533788b5
tree150f8779b559e3580b6a6665b0c99c5f0922400a
parent8d0b8801c9e4c2c6b20cdac74dbab16facce7653
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>
drivers/xen/xen-pciback/pci_stub.c