rem: scsi_ccb *orig_request = device->auto_sense_originator, *request = device->auto_sense_request;
add: scsi_ccb *orig_request = device->auto_sense_originator; scsi_ccb *request = device->auto_sense_request;
context: static void finish_autosense( scsi_device_info *device ){	scsi_ccb 		*orig_request = device->auto_sense_originator, 		*request = device->auto_sense_request;	FAST_LOG2( device->log, ev_scsi_finish_autosense, (uint32)request, (uint32)orig_request );	SHOW_FLOW0( 3, "" );	if( request->subsys_status == SCSI_REQ_CMP ) {		int sense_len;						// we got sense data -> copy it to sense buffer		sense_len = min( SCSI_MAX_SENSE_SIZE, 			request->data_len - request->data_resid );					SHOW_FLOW( 3, "Got sense: %d bytes", sense_len );					memcpy( orig_request->sense, request->data, sense_len );					orig_request->sense_resid = SCSI_MAX_SENSE_SIZE - sense_len;					orig_request->subsys_status |= SCSI_AUTOSNS_VALID;	} else {		// failed to get sense		orig_request->subsys_status = SCSI_AUTOSENSE_FAIL;	}	// inform peripheral driver	release_sem_etc( orig_request->completion_sem, 1, 0/*B_DO_NOT_RESCHEDULE*/ );}