[PATCH] 2.6 aacraid: Fix sgmap error (resend)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <markh@xxxxxxxx>

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 <markh@xxxxxxxx>

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux