The wrong sgmap structure is being assigned in aac_send_raw_srb.

Patch against scsi-misc-2.6 git tree.

Signed-off-by: Mark Haverkamp <[EMAIL PROTECTED]>

Index: scsi-misc-2.6/drivers/scsi/aacraid/commctrl.c
===================================================================
--- scsi-misc-2.6.orig/drivers/scsi/aacraid/commctrl.c  2005-06-24 
10:51:16.000000000 -0700
+++ scsi-misc-2.6/drivers/scsi/aacraid/commctrl.c       2005-07-07 
13:17:21.000000000 -0700
@@ -517,7 +517,7 @@
        }
        if (dev->dac_support == 1) {
                struct user_sgmap64* upsg = (struct 
user_sgmap64*)&user_srbcmd->sg;
-               struct sgmap64* psg = (struct sgmap64*)&user_srbcmd->sg;
+               struct sgmap64* psg = (struct sgmap64*)&srbcmd->sg;
                struct user_sgmap* usg;
                byte_count = 0;
 


-- 
Mark Haverkamp <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to