From: Anand Kumar Santhanam Date: Mon, 5 Aug 2013 08:46:52 +0000 (+0530) Subject: [SCSI] pm80xx: Fix for 32 bit compilation warning X-Git-Tag: accepted/tizen/common/20141203.182822~1444^2~111 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da1dccce128f6d5efc6fb8778d277bf2f4abeeb6;p=platform%2Fkernel%2Flinux-arm64.git [SCSI] pm80xx: Fix for 32 bit compilation warning Signed-off-by: Anandkumar.Santhanam@pmcs.com Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index 3861aa1..44c2f82 100644 --- a/drivers/scsi/pm8001/pm8001_init.c +++ b/drivers/scsi/pm8001/pm8001_init.c @@ -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;