pm80xx: Fix for 32 bit compilation issue.
Subsystems (2)
PATCH v2 1/1 pm80xx: Fix for 32 bit compilation issue.
Quoted 1 line
From
d89ed52c141b7f5599eb09e9d7f1010e1a89dcadMon Sep 17 00:00:00 2001
From: Anand Kumar Santhanam <[email protected]>
Date: Mon, 5 Aug 2013 14:16:52 +0530
Subject: [PATCH V2] pm80xx: Fix for 32 bit compilation issue.
pm80xx driver does not compile under 32 bit linux. This patch fixes the same.
Signed-off-by [email protected]
--- drivers/scsi/pm8001/pm8001_init.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/scsi/pm8001/pm8001_init.c +2 -1
@@ -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 ;
Signature · 1 line
1.7.1