[SCSI] qla2xxx: Correct overflow during dump-processing on large-memory ISP23xx parts.

Total ram words can exceed a 16bit value on large-memory boards.
Safely extend to a 32bit width.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Andrew Vasquez and committed by
James Bottomley
e792121e 031e134e

+1 -1
+1 -1
drivers/scsi/qla2xxx/qla_dbg.c
··· 216 216 217 217 static int 218 218 qla2xxx_dump_ram(scsi_qla_host_t *ha, uint32_t addr, uint16_t *ram, 219 - uint16_t ram_words, void **nxt) 219 + uint32_t ram_words, void **nxt) 220 220 { 221 221 int rval; 222 222 uint32_t cnt, stat, timer, words, idx;