diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_dbg.c')
-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) | |||
369 | 369 | ||
370 | memcpy(iter_reg, ha->fce, ntohl(fcec->size)); | 370 | memcpy(iter_reg, ha->fce, ntohl(fcec->size)); |
371 | 371 | ||
372 | return iter_reg; | 372 | return (char *)iter_reg + ntohl(fcec->size); |
373 | } | 373 | } |
374 | 374 | ||
375 | static inline void * | 375 | static inline void * |