iscsi_ibft: fix warning in reserve_ibft_region()
authorMaurizio Lombardi <mlombard@redhat.com>
Thu, 5 Aug 2021 16:11:50 +0000 (18:11 +0200)
committerKonrad Rzeszutek Wilk <konrad@kernel.org>
Thu, 5 Aug 2021 23:47:57 +0000 (19:47 -0400)
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>
drivers/firmware/iscsi_ibft_find.c

index a059459..94b49cc 100644 (file)
@@ -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;
                                }
                        }