mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -938,8 +938,8 @@ static int __init ibft_init(void)
|
|||
return -ENOMEM;
|
||||
|
||||
if (ibft_addr) {
|
||||
printk(KERN_INFO "iBFT detected at 0x%lx.\n",
|
||||
virt_to_phys((void *)ibft_addr));
|
||||
printk(KERN_INFO "iBFT detected at 0x%llx.\n",
|
||||
(u64)virt_to_phys((void *)ibft_addr));
|
||||
|
||||
rc = ibft_check_device();
|
||||
if (rc)
|
||||
|
|
Loading…
Reference in a new issue