scsi: qla2xxx: Fix memory size truncation
authorQuinn Tran <qutran@marvell.com>
Fri, 4 Sep 2020 04:51:21 +0000 (21:51 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 22 Sep 2020 22:42:42 +0000 (18:42 -0400)
commitd38cb849e17a34637b97ce57c550ec70d63dd39a
treec5a1db3b344b4fa9f3829dc8af7614e0c7058185
parentd68930bae477e864e016aeb8d557f099b4636aac
scsi: qla2xxx: Fix memory size truncation

Memory size calculations for Extended Login used in hardware offload got
truncated. Fix this by changing definition of exlogin_size to use uint32_t.

Link: https://lore.kernel.org/r/20200904045128.23631-7-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_os.c