sp->lun_queue->out_cnt--;  
qla2x00_error_entry(scsi_qla_host_t *ha, sts_entry_t *pkt) {	srb_t *sp;#if defined(QL_DEBUG_LEVEL_2)	if (pkt->entry_status & RF_INV_E_ORDER)		qla_printk(KERN_ERR, ha, "%s: Invalid Entry Order\n", __func__);	else if (pkt->entry_status & RF_INV_E_COUNT)		qla_printk(KERN_ERR, ha, "%s: Invalid Entry Count\n", __func__);	else if (pkt->entry_status & RF_INV_E_PARAM)		qla_printk(KERN_ERR, ha, 		    "%s: Invalid Entry Parameter\n", __func__);	else if (pkt->entry_status & RF_INV_E_TYPE)		qla_printk(KERN_ERR, ha, "%s: Invalid Entry Type\n", __func__);	else if (pkt->entry_status & RF_BUSY)		qla_printk(KERN_ERR, ha, "%s: Busy\n", __func__);	else		qla_printk(KERN_ERR, ha, "%s: UNKNOWN flag error\n", __func__);#endif	/* Validate handle. */	if (pkt->handle < MAX_OUTSTANDING_COMMANDS)		sp = ha->outstanding_cmds[pkt->handle];	else		sp = NULL;	if (sp) {		/* Free outstanding command slot. */		ha->outstanding_cmds[pkt->handle] = NULL;		if (ha->actthreads)			ha->actthreads--;		sp->lun_queue->out_cnt--;		/* Bad payload or header */		if (pkt->entry_status &		    (RF_INV_E_ORDER | RF_INV_E_COUNT |		     RF_INV_E_PARAM | RF_INV_E_TYPE)) {			sp->cmd->result = DID_ERROR << 16;		} else if (pkt->entry_status & RF_BUSY) {			sp->cmd->result = DID_BUS_BUSY << 16;		} else {			sp->cmd->result = DID_ERROR << 16;		}		qla2x00_sp_compl(ha, sp);	} else if (pkt->entry_type == COMMAND_A64_TYPE ||	    pkt->entry_type == COMMAND_TYPE) {		DEBUG2(printk("scsi(%ld): Error entry - invalid handle\n",		    ha->host_no));		qla_printk(KERN_WARNING, ha,		    "Error entry - invalid handle\n");		set_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);		if (ha->dpc_wait && !ha->dpc_active) 			up(ha->dpc_wait);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/bdf796210e01145fd77bbb3ae644d04f982b6c3b/qla_isr.c/buggy/drivers/scsi/qla2xxx/qla_isr.c