[SCSI] pm80xx: Fix for 32 bit compilation warning
authorAnand Kumar Santhanam <AnandKumar.Santhanam@pmcs.com>
Mon, 5 Aug 2013 08:46:52 +0000 (14:16 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 26 Aug 2013 14:53:46 +0000 (18:53 +0400)
Signed-off-by: Anandkumar.Santhanam@pmcs.com
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/pm8001/pm8001_init.c

index 3861aa1..44c2f82 100644 (file)
@@ -424,7 +424,8 @@ static int pm8001_ioremap(struct pm8001_hba_info *pm8001_ha)
                        PM8001_INIT_DBG(pm8001_ha, pm8001_printk(
                                "base addr %llx virt_addr=%llx len=%d\n",
                                (u64)pm8001_ha->io_mem[logicalBar].membase,
-                               (u64)pm8001_ha->io_mem[logicalBar].memvirtaddr,
+                               (u64)(unsigned long)
+                               pm8001_ha->io_mem[logicalBar].memvirtaddr,
                                pm8001_ha->io_mem[logicalBar].memsize));
                } else {
                        pm8001_ha->io_mem[logicalBar].membase   = 0;