diff options
author | Giridhar Malavali <giridhar.malavali@qlogic.com> | 2011-11-18 09:03:11 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-12-15 10:55:03 +0400 |
commit | 3cb0a67d6d0f5af55ab9673893cd8e8148025331 (patch) | |
tree | acee16d41cfb10d1f87c12cdde0fd3ba400a2aca /drivers/scsi/qla2xxx | |
parent | c142caf0ab21fb57240b09138a95def1ca20ca0f (diff) | |
download | blackbird-obmc-linux-3cb0a67d6d0f5af55ab9673893cd8e8148025331.tar.gz blackbird-obmc-linux-3cb0a67d6d0f5af55ab9673893cd8e8148025331.zip |
[SCSI] qla2xxx: Fix to include FCE data as part of dump.
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>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/scsi/qla2xxx/qla_dbg.c index 58e0bfbfcd33..dc454628f0a1 100644 --- a/drivers/scsi/qla2xxx/qla_dbg.c +++ b/drivers/scsi/qla2xxx/qla_dbg.c @@ -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 * |