提交 7fd1d00b 编写于 作者: M Maurizio Lombardi 提交者: Konrad Rzeszutek Wilk

iscsi_ibft: fix warning in reserve_ibft_region()

Use %pa to print a physical address.
Reported-by: Nkernel test robot <lkp@intel.com>
Signed-off-by: NMaurizio Lombardi <mlombard@redhat.com>
Signed-off-by: NKonrad Rzeszutek Wilk <konrad@kernel.org>
上级 342f43af
......@@ -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;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册