Skip to content

Commit

Permalink
qla2xxx: Correct (again) overflow during dump-processing on large-mem…
Browse files Browse the repository at this point in the history
…ory ISP23xx parts.

Commit 7b867cf ([SCSI] qla2xxx:
Refactor qla data structures) inadvertently reverted
e792121 ([SCSI] qla2xxx: Correct
overflow during dump-processing on large-memory ISP23xx parts.).

Cc: stable@kernel.org
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
  • Loading branch information
Andrew Vasquez authored and James Bottomley committed Jun 21, 2009
1 parent 9d2683c commit e18e963
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 @@ -216,7 +216,7 @@ qla24xx_soft_reset(struct qla_hw_data *ha)

static int
qla2xxx_dump_ram(struct qla_hw_data *ha, uint32_t addr, uint16_t *ram,
uint16_t ram_words, void **nxt)
uint32_t ram_words, void **nxt)
{
int rval;
uint32_t cnt, stat, timer, words, idx;
Expand Down

0 comments on commit e18e963

Please sign in to comment.