From: Wei Yongjun
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.
Signed-off-by: Wei Yongjun
---
drivers/xen/xen-pciback/pci_stub.c | 10 +++---
1 file changed, 7
>>> On 31.05.13 at 13:59, Wei Yongjun wrote:
> From: Wei Yongjun
>
> 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.
>
> Signed-off-by: Wei Yongjun
Acked-by: Jan