diff options
author | Anil Gurumurthy <anil.gurumurthy@qlogic.com> | 2015-08-13 06:41:52 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-09-06 11:39:53 -0700 |
commit | 6f3d828f5bd72174c24789aba5d4ed036b60f44b (patch) | |
tree | f1e6ba2b88db7aa9a72ca10adfb5dfb47ad26237 /drivers/scsi/bfa | |
parent | b7f4d6343820af5c2dc3979e91d85e71e638cd3d (diff) | |
download | op-kernel-dev-6f3d828f5bd72174c24789aba5d4ed036b60f44b.zip op-kernel-dev-6f3d828f5bd72174c24789aba5d4ed036b60f44b.tar.gz |
bfa: Fix incorrect de-reference of pointer
Signed-off-by: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Tested-by: Sudarsana Kalluru <sudarsana.kalluru@qlogic.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/bfa')
-rw-r--r-- | drivers/scsi/bfa/bfa_ioc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /* |