Commit f537a53da9389f56df277057684df23997410e9c
Committed by
Ingo Molnar
1 parent
9c8976a1a5
Exists in
master
and in
39 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/firmware/iscsi_ibft.c
... | ... | @@ -938,8 +938,8 @@ |
938 | 938 | return -ENOMEM; |
939 | 939 | |
940 | 940 | if (ibft_addr) { |
941 | - printk(KERN_INFO "iBFT detected at 0x%lx.\n", | |
942 | - virt_to_phys((void *)ibft_addr)); | |
941 | + printk(KERN_INFO "iBFT detected at 0x%llx.\n", | |
942 | + (u64)virt_to_phys((void *)ibft_addr)); | |
943 | 943 | |
944 | 944 | rc = ibft_check_device(); |
945 | 945 | if (rc) |