iscsi_ibft.c fix compilation warning
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Wed, 11 Feb 2009 18:21:34 +0000 (23:51 +0530)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 20:01:32 +0000 (21:01 +0100)
 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>
drivers/firmware/iscsi_ibft.c

index 3ab3e4a..7b7ddc2 100644 (file)
@@ -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)