summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuqian Huang <huangfq.daxian@gmail.com>2019-10-10 16:32:09 +0800
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2019-10-10 10:41:30 -0400
commit574878f98c05aaae7e046cd18be9195f8da38cbd (patch)
treee801d7771eebf2fda2930ac82c0d6c8eb2b6d128
parentc6875f3aacf2a5a913205accddabf0bfb75cac76 (diff)
xen/grant-table: remove unnecessary printing
xen_auto_xlat_grant_frames.vaddr is definitely NULL in this case. So the address printing is unnecessary. Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
-rw-r--r--drivers/xen/grant-table.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index 7ea6fb6a2e5d..49b381e104ef 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -1363,8 +1363,7 @@ static int gnttab_setup(void)
if (xen_feature(XENFEAT_auto_translated_physmap) && gnttab_shared.addr == NULL) {
gnttab_shared.addr = xen_auto_xlat_grant_frames.vaddr;
if (gnttab_shared.addr == NULL) {
- pr_warn("gnttab share frames (addr=0x%08lx) is not mapped!\n",
- (unsigned long)xen_auto_xlat_grant_frames.vaddr);
+ pr_warn("gnttab share frames is not mapped!\n");
return -ENOMEM;
}
}