View | Details | Raw Unified | Return to bug 165787
Collapse All | Expand All

(-)scsi-freebsd.c (+7 lines)
Lines 194-200 Link Here
194
194
195
   /* Extract sense data */
195
   /* Extract sense data */
196
196
197
   /*
198
    * The following memcpy() smashes the stack of scsi-layer:InquireDevice()
199
    * when called on FreeBSD amd64 RELENG_9.  Commenting it out, until the
200
    * real reason has been found.  -- cpghost@cordula.ws
201
    */
202
#if 0
197
   memcpy(sense, &(ccb->csio.sense_data), sizeof(struct scsi_sense_data));
203
   memcpy(sense, &(ccb->csio.sense_data), sizeof(struct scsi_sense_data));
204
#endif
198
205
199
   if((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP)
206
   if((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP)
200
     return 0;
207
     return 0;

Return to bug 165787