projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eabb831
)
vpci/bars: fix error message
author
Roger Pau Monné
<roger.pau@citrix.com>
Mon, 26 Mar 2018 13:16:14 +0000
(15:16 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 26 Mar 2018 13:16:14 +0000
(15:16 +0200)
Error message is incorrectly using map when it should be using
map->map instead.
Coverity ID:
1430811
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/vpci/header.c
patch
|
blob
|
history
diff --git
a/xen/drivers/vpci/header.c
b/xen/drivers/vpci/header.c
index 91a71ca66e123acde991e27640772d5450ecff05..0ec4c082a6efe17ad0f0879492ace56abbdc7230 100644
(file)
--- 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);