Skip to content

Commit 574878f

Browse files
Yellow-Paybostrovs
authored andcommitted
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 <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]>
1 parent c6875f3 commit 574878f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/xen/grant-table.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,8 +1363,7 @@ static int gnttab_setup(void)
13631363
if (xen_feature(XENFEAT_auto_translated_physmap) && gnttab_shared.addr == NULL) {
13641364
gnttab_shared.addr = xen_auto_xlat_grant_frames.vaddr;
13651365
if (gnttab_shared.addr == NULL) {
1366-
pr_warn("gnttab share frames (addr=0x%08lx) is not mapped!\n",
1367-
(unsigned long)xen_auto_xlat_grant_frames.vaddr);
1366+
pr_warn("gnttab share frames is not mapped!\n");
13681367
return -ENOMEM;
13691368
}
13701369
}

0 commit comments

Comments
 (0)