]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Fix PLOGI payload and ELS IOCB dump length
authorRoman Bolshakov <r.bolshakov@yadro.com>
Mon, 25 Nov 2019 16:56:57 +0000 (19:56 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Dec 2019 23:29:18 +0000 (18:29 -0500)
commit97b62843112abc63132de11e0ae6463bfeb38f44
treefa888e2c0ece258e8d32d8b5b64674fa0e20f284
parentc731a39dc2f0524cfaa18fc585f94aee0ff1944c
scsi: qla2xxx: Fix PLOGI payload and ELS IOCB dump length

The size of the buffer is hardcoded as 0x70 or 112 bytes, while the size of
ELS IOCB is 0x40 and the size of PLOGI payload returned by Get Parameters
command is 0x74.

Cc: Quinn Tran <qutran@marvell.com>
Link: https://lore.kernel.org/r/20191125165702.1013-9-r.bolshakov@yadro.com
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_iocb.c