summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2021-08-05 18:11:50 +0200
committerKonrad Rzeszutek Wilk <konrad@kernel.org>2021-08-05 19:47:57 -0400
commit7fd1d00bf8181db4b90c3c9dc25696229d185b5b (patch)
treeb4497a07248abb73e85f73797f93d4ab21246d80 /drivers/firmware
parent342f43af70dbc74f8629381998f92c060e1763a2 (diff)
downloadlinux-7fd1d00bf8181db4b90c3c9dc25696229d185b5b.tar.bz2
iscsi_ibft: fix warning in reserve_ibft_region()
Use %pa to print a physical address. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/iscsi_ibft_find.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}