 if (rport->scsi_target_id != -1 && rport->scsi_target_id < MAX_TARGETS) fcport->os_target_id = rport->scsi_target_id;  rport->dd_data = fcport; 
qla2x00_reg_remote_port(scsi_qla_host_t *ha, fc_port_t *fcport){	struct fc_rport_identifiers rport_ids;	if (fcport->rport) {		fc_remote_port_unblock(fcport->rport);		return;	}	rport_ids.node_name = be64_to_cpu(*(uint64_t *)fcport->node_name);	rport_ids.port_name = be64_to_cpu(*(uint64_t *)fcport->port_name);	rport_ids.port_id = fcport->d_id.b.domain << 16 |	    fcport->d_id.b.area << 8 | fcport->d_id.b.al_pa;	rport_ids.roles = FC_RPORT_ROLE_UNKNOWN;	if (fcport->port_type == FCT_INITIATOR)		rport_ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR;	if (fcport->port_type == FCT_TARGET)		rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET;	fcport->rport = fc_remote_port_add(ha->host, 0, &rport_ids);	if (!fcport->rport)		qla_printk(KERN_WARNING, ha,		    "Unable to allocate fc remote port!\n");}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/bdf796210e01145fd77bbb3ae644d04f982b6c3b/qla_init.c/buggy/drivers/scsi/qla2xxx/qla_init.c