Error message is incorrectly using map when it should be using map->map instead.
Reported-by: Coverity Signed-off-by: Roger Pau Monné <roger....@citrix.com> --- xen/drivers/vpci/header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/vpci/header.c b/xen/drivers/vpci/header.c index 91a71ca66e..0ec4c082a6 100644 --- a/xen/drivers/vpci/header.c +++ b/xen/drivers/vpci/header.c @@ -63,7 +63,7 @@ static int map_range(unsigned long s, unsigned long e, void *data, { printk(XENLOG_G_WARNING "Failed to identity %smap [%lx, %lx] for d%d: %d\n", - map ? "" : "un", s, e, map->d->domain_id, rc); + map->map ? "" : "un", s, e, map->d->domain_id, rc); break; } ASSERT(rc < size); -- 2.16.2 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel