Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e18e963b authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley
Browse files

qla2xxx: Correct (again) overflow during dump-processing on large-memory ISP23xx parts.



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

Cc: stable@kernel.org
Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 9d2683c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;