]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Fix RIDA Format-2
authorQuinn Tran <qutran@marvell.com>
Tue, 17 Dec 2019 22:06:14 +0000 (14:06 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 21 Dec 2019 18:42:41 +0000 (13:42 -0500)
commita64417d44d876ef5a4d85a48a07dd3de83cf327d
tree2fb01736d4c6a2a2fdebb0c00f8d475a4ae196dd
parentb02f1e6a71a256f2d33eeb00cb4b064a64bda1fc
scsi: qla2xxx: Fix RIDA Format-2

This patch fixes offset for Format-2 data structure for Report ID
Acquisition. This caused driver to set remote_nport_id to 0x0000 in N2N
configuration. In a scenario where initiator's WWPN is higher than target's
WWPN, driver will assign 0x00 as target nport-id, which results into login
failure.

Link: https://lore.kernel.org/r/20191217220617.28084-12-hmadhani@marvell.com
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_fw.h