Skip to content

Commit

Permalink
[SCSI] qla2xxx: Fix to include FCE data as part of dump.
Browse files Browse the repository at this point in the history
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
  • Loading branch information
Giridhar Malavali authored and James Bottomley committed Dec 15, 2011
1 parent c142caf commit 3cb0a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/qla2xxx/qla_dbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ qla25xx_copy_fce(struct qla_hw_data *ha, void *ptr, uint32_t **last_chain)

memcpy(iter_reg, ha->fce, ntohl(fcec->size));

return iter_reg;
return (char *)iter_reg + ntohl(fcec->size);
}

static inline void *
Expand Down

0 comments on commit 3cb0a67

Please sign in to comment.