mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
iscsi_ibft.c fix compilation warning
drivers/firmware/iscsi_ibft.c: In function ‘ibft_init’: drivers/firmware/iscsi_ibft.c:942: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘phys_addr_t’ Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
9c8976a1a5
commit
f537a53da9
@ -938,8 +938,8 @@ static int __init ibft_init(void)
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
if (ibft_addr) {
|
if (ibft_addr) {
|
||||||
printk(KERN_INFO "iBFT detected at 0x%lx.\n",
|
printk(KERN_INFO "iBFT detected at 0x%llx.\n",
|
||||||
virt_to_phys((void *)ibft_addr));
|
(u64)virt_to_phys((void *)ibft_addr));
|
||||||
|
|
||||||
rc = ibft_check_device();
|
rc = ibft_check_device();
|
||||||
if (rc)
|
if (rc)
|
||||||
|
Loading…
Reference in New Issue
Block a user