All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Smart <james.smart@emulex.com>
To: Felipe Pena <felipensp@gmail.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers: scsi: lpfc: Fix typo on NULL assignment
Date: Wed, 16 Oct 2013 14:17:05 -0400	[thread overview]
Message-ID: <525ED821.80909@emulex.com> (raw)
In-Reply-To: <1381883390-4200-1-git-send-email-felipensp@gmail.com>

Acked-by: James Smart <james.smart@emulex.com>

-- james s


On 10/15/2013 8:29 PM, Felipe Pena wrote:
> In the lpfc_ct_free_iocb function after freeing associated memory to the
> ctiocb->context3, the ctiocb->context1 is set to NULL instead of context3.
>
> Signed-off-by: Felipe Pena <felipensp@gmail.com>
> ---
>   drivers/scsi/lpfc/lpfc_ct.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c
> index 02e8cd9..da61d8d 100644
> --- a/drivers/scsi/lpfc/lpfc_ct.c
> +++ b/drivers/scsi/lpfc/lpfc_ct.c
> @@ -280,7 +280,7 @@ lpfc_ct_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *ctiocb)
>   		buf_ptr = (struct lpfc_dmabuf *) ctiocb->context3;
>   		lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys);
>   		kfree(buf_ptr);
> -		ctiocb->context1 = NULL;
> +		ctiocb->context3 = NULL;
>   	}
>   	lpfc_sli_release_iocbq(phba, ctiocb);
>   	return 0;
> --
> 1.7.10.4
>
>

WARNING: multiple messages have this Message-ID (diff)
From: James Smart <james.smart@emulex.com>
To: Felipe Pena <felipensp@gmail.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>,
	<linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drivers: scsi: lpfc: Fix typo on NULL assignment
Date: Wed, 16 Oct 2013 14:17:05 -0400	[thread overview]
Message-ID: <525ED821.80909@emulex.com> (raw)
In-Reply-To: <1381883390-4200-1-git-send-email-felipensp@gmail.com>

Acked-by: James Smart <james.smart@emulex.com>

-- james s


On 10/15/2013 8:29 PM, Felipe Pena wrote:
> In the lpfc_ct_free_iocb function after freeing associated memory to the
> ctiocb->context3, the ctiocb->context1 is set to NULL instead of context3.
>
> Signed-off-by: Felipe Pena <felipensp@gmail.com>
> ---
>   drivers/scsi/lpfc/lpfc_ct.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c
> index 02e8cd9..da61d8d 100644
> --- a/drivers/scsi/lpfc/lpfc_ct.c
> +++ b/drivers/scsi/lpfc/lpfc_ct.c
> @@ -280,7 +280,7 @@ lpfc_ct_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *ctiocb)
>   		buf_ptr = (struct lpfc_dmabuf *) ctiocb->context3;
>   		lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys);
>   		kfree(buf_ptr);
> -		ctiocb->context1 = NULL;
> +		ctiocb->context3 = NULL;
>   	}
>   	lpfc_sli_release_iocbq(phba, ctiocb);
>   	return 0;
> --
> 1.7.10.4
>
>


  reply	other threads:[~2013-10-16 18:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-16  0:29 [PATCH] drivers: scsi: lpfc: Fix typo on NULL assignment Felipe Pena
2013-10-16 18:17 ` James Smart [this message]
2013-10-16 18:17   ` James Smart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525ED821.80909@emulex.com \
    --to=james.smart@emulex.com \
    --cc=JBottomley@parallels.com \
    --cc=felipensp@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.