Skip to content

Commit

Permalink
iscsi_ibft: fix warning in reserve_ibft_region()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
maurizio-lombardi authored and konradwilk committed Aug 5, 2021
1 parent 342f43a commit 7fd1d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/iscsi_ibft_find.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 7fd1d00

Please sign in to comment.