aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/commctrl.c
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2005-07-07 16:40:00 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-07-14 11:14:45 -0400
commit84e29308ede3edb4f03911246c33d697ff18722e (patch)
tree0482cff2c657df5fcc5144028b22a4adfa43b30a /drivers/scsi/aacraid/commctrl.c
parent97cbe08ff8e78b075ed0ff64c99be8fb2d40d03f (diff)
[SCSI] aacraid: Fix sgmap error
The wrong sgmap structure is being assigned in aac_send_raw_srb. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/commctrl.c')
-rw-r--r--drivers/scsi/aacraid/commctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c
index 1fef92d55dee..d005ad77378d 100644
--- a/drivers/scsi/aacraid/commctrl.c
+++ b/drivers/scsi/aacraid/commctrl.c
@@ -517,7 +517,7 @@ static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg)
517 } 517 }
518 if (dev->dac_support == 1) { 518 if (dev->dac_support == 1) {
519 struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg; 519 struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg;
520 struct sgmap64* psg = (struct sgmap64*)&user_srbcmd->sg; 520 struct sgmap64* psg = (struct sgmap64*)&srbcmd->sg;
521 struct user_sgmap* usg; 521 struct user_sgmap* usg;
522 byte_count = 0; 522 byte_count = 0;
523 523