/* Return value: ibmvfc_target struct / NULL if not found  */
static struct ibmvfc_target* __ibmvfc_get_target(struct scsi_target *starget)
/* Return value: ibmvfc_target struct / NULL if not found  */
static struct ibmvfc_target* __ibmvfc_get_target(struct scsi_target *starget)
{
	struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
	struct ibmvfc_host *vhost = shost_priv(shost);
	struct ibmvfc_target *tgt;
	list_for_each_entry(tgt, &vhost->targets, queue)
		if (tgt->target_id == starget->id) {
			kref_get(&tgt->kref);
			return tgt;
		}
	return NULL;
}