From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Christie Subject: Re: [PATCH 2/5] BNX2I: Added support for other TMFs besides ABORT_TASK Date: Wed, 11 Aug 2010 14:07:07 -0500 Message-ID: <4C62F4DB.8070006@cs.wisc.edu> References: <1281467374-6182-3-git-send-email-eddie.wai@broadcom.com> Reply-To: open-iscsi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Return-path: In-Reply-To: <1281467374-6182-3-git-send-email-eddie.wai-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> List-Post: , List-Help: , List-Archive: Sender: open-iscsi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: Eddie Wai Cc: James Bottomley , open-iscsi , linux-scsi , Michael Chan , Anil Veerabhadrappa , Ben Li List-Id: linux-scsi@vger.kernel.org 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? -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.