projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a784efb
)
[SCSI] lpfc: Remove unneeded IOCB_t * cast
author
James.Smart@Emulex.Com
<James.Smart@Emulex.Com>
Sat, 29 Oct 2005 00:29:56 +0000
(20:29 -0400)
committer
James Bottomley
<jejb@mulgrave.(none)>
Sat, 29 Oct 2005 15:31:05 +0000
(10:31 -0500)
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_sli.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_sli.c
b/drivers/scsi/lpfc/lpfc_sli.c
index e09398dbe7798d1d2451ad4441867e643ed3dbd9..b53ed3abc6c9366a8ea74eecc0d72b0723d3e610 100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_sli.c
+++ b/
drivers/scsi/lpfc/lpfc_sli.c
@@
-936,7
+936,7
@@
lpfc_sli_handle_fast_ring_event(struct lpfc_hba * phba,
* structure. The copy involves a byte-swap since the
* network byte order and pci byte orders are different.
*/
- entry =
(IOCB_t *)
IOCB_ENTRY(pring->rspringaddr, pring->rspidx);
+ entry = IOCB_ENTRY(pring->rspringaddr, pring->rspidx);
lpfc_sli_pcimem_bcopy((uint32_t *) entry,
(uint32_t *) &rspiocbq.iocb,
sizeof (IOCB_t));