d4cd450288
Coverity spot: Function xen_pt_bar_offset_to_index() may return a negative value (-1) which is used as an index to d->io_regions[] down the line. Let's pass index directly as an argument to xen_pt_bar_reg_parse(). Signed-off-by: Gonglei <arei.gonglei@huawei.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> |
||
---|---|---|
.. | ||
Makefile.objs | ||
xen_backend.c | ||
xen_devconfig.c | ||
xen_pt_config_init.c | ||
xen_pt_msi.c | ||
xen_pt.c | ||
xen_pt.h | ||
xen-host-pci-device.c | ||
xen-host-pci-device.h |