From: Ewan Milne <emilne@redhat.com>
To: anil.gurumurthy@qlogic.com
Cc: James.Bottomley@HansenPartnership.com, hch@infradead.org,
linux-scsi@vger.kernel.org, sudarsana.kalluru@qlogic.com
Subject: Re: [PATCH 2/2] bfa: Fix incorrect de-reference of pointer
Date: Thu, 03 Sep 2015 10:32:03 -0400 [thread overview]
Message-ID: <1441290723.23183.323.camel@localhost.localdomain> (raw)
In-Reply-To: <1439462512-1911-3-git-send-email-anil.gurumurthy@qlogic.com>
On Thu, 2015-08-13 at 06:41 -0400, anil.gurumurthy@qlogic.com wrote:
> From: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
>
> Signed-off-by: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
> Tested-by: Sudarsana Kalluru <sudarsana.kalluru@qlogic.com>
> ---
> drivers/scsi/bfa/bfa_ioc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/bfa/bfa_ioc.c b/drivers/scsi/bfa/bfa_ioc.c
> index 4e71044..98f7e8c 100644
> --- a/drivers/scsi/bfa/bfa_ioc.c
> +++ b/drivers/scsi/bfa/bfa_ioc.c
> @@ -3878,7 +3878,7 @@ bfa_sfp_show_comp(struct bfa_sfp_s *sfp, struct bfi_mbmsg_s *msg)
> bfa_trc(sfp, sfp->data_valid);
> if (sfp->data_valid) {
> u32 size = sizeof(struct sfp_mem_s);
> - u8 *des = (u8 *) &(sfp->sfpmem);
> + u8 *des = (u8 *)(sfp->sfpmem);
> memcpy(des, sfp->dbuf_kva, size);
> }
> /*
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
next prev parent reply other threads:[~2015-09-03 14:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-13 10:41 [PATCH 0/2] Patches for scsi "misc" branch anil.gurumurthy
2015-08-13 10:41 ` [PATCH 1/2] bfa: Fix indentation anil.gurumurthy
2015-09-03 14:31 ` Ewan Milne
2015-08-13 10:41 ` [PATCH 2/2] bfa: Fix incorrect de-reference of pointer anil.gurumurthy
2015-09-03 14:32 ` Ewan Milne [this message]
2015-08-28 19:09 ` [PATCH 0/2] Patches for scsi "misc" branch James Bottomley
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=1441290723.23183.323.camel@localhost.localdomain \
--to=emilne@redhat.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=anil.gurumurthy@qlogic.com \
--cc=hch@infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=sudarsana.kalluru@qlogic.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).