diff options
author | Mark Haverkamp <markh@osdl.org> | 2005-10-24 13:52:11 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-28 12:23:39 -0400 |
commit | e75d51761debffbc5e556e02c8ceda4f8c1a3e83 (patch) | |
tree | e9254c5876402d2bf069deae3a7b9648ffa1db23 /drivers/scsi/aacraid | |
parent | 9f30a323a4ad96a3867279e0cdea7e2362dca2ee (diff) |
[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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c index 0459ba7b5bdb..ef623bd965f5 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) | |||
574 | rcode = -ENOMEM; | 574 | rcode = -ENOMEM; |
575 | goto cleanup; | 575 | goto cleanup; |
576 | } | 576 | } |
577 | sg_user[i] = (void __user *)usg->sg[i].addr; | 577 | sg_user[i] = (void __user *)(long)usg->sg[i].addr; |
578 | sg_list[i] = p; // save so we can clean up later | 578 | sg_list[i] = p; // save so we can clean up later |
579 | sg_indx = i; | 579 | sg_indx = i; |
580 | 580 | ||
@@ -624,7 +624,7 @@ static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg) | |||
624 | rcode = -ENOMEM; | 624 | rcode = -ENOMEM; |
625 | goto cleanup; | 625 | goto cleanup; |
626 | } | 626 | } |
627 | sg_user[i] = (void __user *)upsg->sg[i].addr; | 627 | sg_user[i] = (void __user *)(long)upsg->sg[i].addr; |
628 | sg_list[i] = p; // save so we can clean up later | 628 | sg_list[i] = p; // save so we can clean up later |
629 | sg_indx = i; | 629 | sg_indx = i; |
630 | 630 | ||