Skip to content
Commit 405010df authored by Wei Yongjun's avatar Wei Yongjun Committed by Konrad Rzeszutek Wilk
Browse files

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: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 8d0b8801
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment