add_to_done_queue(ha, sp); 
qla2x00_sp_compl(ha, sp); 
qla2x00_ms_entry(scsi_qla_host_t *ha, ms_iocb_entry_t *pkt) {	srb_t          *sp;	DEBUG3(printk("%s(%ld): pkt=%p pkthandle=%d.\n",	    __func__, ha->host_no, pkt, pkt->handle1));	/* Validate handle. */ 	if (pkt->handle1 < MAX_OUTSTANDING_COMMANDS) 		sp = ha->outstanding_cmds[pkt->handle1];	else		sp = NULL;	if (sp == NULL) {		DEBUG2(printk("scsi(%ld): MS entry - invalid handle\n",		    ha->host_no));		qla_printk(KERN_WARNING, ha, "MS entry - invalid handle\n");		set_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);		return;	}	CMD_COMPL_STATUS(sp->cmd) = le16_to_cpu(pkt->status);	CMD_ENTRY_STATUS(sp->cmd) = pkt->entry_status;	/* Free outstanding command slot. */	ha->outstanding_cmds[pkt->handle1] = NULL;	add_to_done_queue(ha, sp);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f4f051ebb40e74ad0ba02d2cb3a6c16b0393472b/qla_isr.c/buggy/drivers/scsi/qla2xxx/qla_isr.c