xen/grant-table: remove unnecessary printing
authorFuqian Huang <huangfq.daxian@gmail.com>
Thu, 10 Oct 2019 08:32:09 +0000 (16:32 +0800)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 10 Oct 2019 14:41:30 +0000 (10:41 -0400)
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>
drivers/xen/grant-table.c

index 7ea6fb6a2e5dd78c53a79bfea140e2e297858f7d..49b381e104efaf64469c75e35668e10efac4ba4d 100644 (file)
@@ -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;
                }
        }