aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2005-10-24 10:52:11 -0700
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-28 11:23:39 -0500
commite75d51761debffbc5e556e02c8ceda4f8c1a3e83 (patch)
treee9254c5876402d2bf069deae3a7b9648ffa1db23 /drivers/scsi/aacraid
parent9f30a323a4ad96a3867279e0cdea7e2362dca2ee (diff)
downloadkernel_samsung_aries-e75d51761debffbc5e556e02c8ceda4f8c1a3e83.zip
kernel_samsung_aries-e75d51761debffbc5e556e02c8ceda4f8c1a3e83.tar.gz
kernel_samsung_aries-e75d51761debffbc5e556e02c8ceda4f8c1a3e83.tar.bz2
[SCSI] aacraid: remove compiler warning
Received from Mark Salyzyn. This patch resolves a compiler warning on 64 bit architectures. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid')
-rw-r--r--drivers/scsi/aacraid/commctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c
index 0459ba7..ef623bd 100644
--- a/drivers/scsi/aacraid/commctrl.c
+++ b/drivers/scsi/aacraid/commctrl.c
@@ -574,7 +574,7 @@ static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg)
rcode = -ENOMEM;
goto cleanup;
}
- sg_user[i] = (void __user *)usg->sg[i].addr;
+ sg_user[i] = (void __user *)(long)usg->sg[i].addr;
sg_list[i] = p; // save so we can clean up later
sg_indx = i;
@@ -624,7 +624,7 @@ static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg)
rcode = -ENOMEM;
goto cleanup;
}
- sg_user[i] = (void __user *)upsg->sg[i].addr;
+ sg_user[i] = (void __user *)(long)upsg->sg[i].addr;
sg_list[i] = p; // save so we can clean up later
sg_indx = i;