diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-07-09 17:37:22 +0100 |
---|---|---|
committer | Stefano Stabellini <sstabellini@kernel.org> | 2017-07-18 13:27:04 -0700 |
commit | 64c7c1175b4e3e6fe005934cde63259d8adad392 (patch) | |
tree | d28eb3ea6004e1499732930e106c636060df0734 /version.rc | |
parent | a19bae42e341a05f43f685fc9ff0e19ba6f129c3 (diff) |
xen_pt_msi.c: Check for xen_host_pci_get_* failures in xen_pt_msix_init()
Check the return status of the xen_host_pci_get_* functions we call in
xen_pt_msix_init(), and fail device init if the reads failed rather than
ploughing ahead. (Spotted by Coverity: CID 777338.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'version.rc')
0 files changed, 0 insertions, 0 deletions