mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
mm,hwpoison: fix printing of page flags
Format %pG expects a lower case 'p' in order to print the flags.
Fix it.
Link: https://lkml.kernel.org/r/20210108085202.4506-1-osalvador@suse.de
Fixes: 8295d535e2
("mm,hwpoison: refactor get_any_page")
Signed-off-by: Oscar Salvador <osalvador@suse.de>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7e5f1126b5
commit
6696d2a6f3
@ -1940,7 +1940,7 @@ retry:
|
||||
goto retry;
|
||||
}
|
||||
} else if (ret == -EIO) {
|
||||
pr_info("%s: %#lx: unknown page type: %lx (%pGP)\n",
|
||||
pr_info("%s: %#lx: unknown page type: %lx (%pGp)\n",
|
||||
__func__, pfn, page->flags, &page->flags);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user