* [PATCH] iscsi_ibft: fix warning in reserve_ibft_region()
@ 2021-08-05 16:11 Maurizio Lombardi
0 siblings, 0 replies; only message in thread
From: Maurizio Lombardi @ 2021-08-05 16:11 UTC (permalink / raw)
To: konrad; +Cc: rppt, linux-kernel
Use %pa to print a physical address.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
---
drivers/firmware/iscsi_ibft_find.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/iscsi_ibft_find.c b/drivers/firmware/iscsi_ibft_find.c
index a0594590847d..94b49ccd23ac 100644
--- a/drivers/firmware/iscsi_ibft_find.c
+++ b/drivers/firmware/iscsi_ibft_find.c
@@ -83,7 +83,7 @@ void __init reserve_ibft_region(void)
if (pos + len <= (IBFT_END-1)) {
ibft_phys_addr = pos;
memblock_reserve(ibft_phys_addr, PAGE_ALIGN(len));
- pr_info("iBFT found at 0x%lx.\n", ibft_phys_addr);
+ pr_info("iBFT found at %pa.\n", &ibft_phys_addr);
return;
}
}
--
2.27.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-05 16:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 16:11 [PATCH] iscsi_ibft: fix warning in reserve_ibft_region() Maurizio Lombardi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).