Skip to content

Commit 7fd1d00

Browse files
maurizio-lombardikonradwilk
authored andcommitted
iscsi_ibft: fix warning in reserve_ibft_region()
Use %pa to print a physical address. Reported-by: kernel test robot <[email protected]> Signed-off-by: Maurizio Lombardi <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
1 parent 342f43a commit 7fd1d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/iscsi_ibft_find.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void __init reserve_ibft_region(void)
8383
if (pos + len <= (IBFT_END-1)) {
8484
ibft_phys_addr = pos;
8585
memblock_reserve(ibft_phys_addr, PAGE_ALIGN(len));
86-
pr_info("iBFT found at 0x%lx.\n", ibft_phys_addr);
86+
pr_info("iBFT found at %pa.\n", &ibft_phys_addr);
8787
return;
8888
}
8989
}

0 commit comments

Comments
 (0)