Re: [PATCH 2/5] BNX2I: Added support for other TMFs besides ABORT_TASK

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

 



On 08/10/2010 02:09 PM, Eddie Wai wrote:
+		/* Retrieve LUN directly from the ref_sc */
+		int_to_scsilun(ref_sc->device->lun,
+			       (struct scsi_lun *) scsi_lun);
+		tmfabort_wqe->lun[0] = be32_to_cpu(scsi_lun[0]);
+		tmfabort_wqe->lun[1] = be32_to_cpu(scsi_lun[1]);
+



+	default:
+		memcpy(tmfabort_wqe->lun, tmfabort_hdr->lun, 8);

Why do you copy the lun differently?
--
To unsubscribe from this list: 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