]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Use correct feature type field during RFF_ID processing
authorManish Rangankar <mrangankar@marvell.com>
Thu, 10 Mar 2022 09:26:02 +0000 (01:26 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2022 04:29:15 +0000 (00:29 -0400)
commit3a52626bb2a3ced3a434bb565388746df3d213df
tree99019e1a51271a020022e78841f92f00078479cc
parent392062a98b6b0b946e541b3c5661d458e6709fb6
scsi: qla2xxx: Use correct feature type field during RFF_ID processing

During SNS Register FC-4 Features (RFF_ID) the initiator driver was sending
incorrect type field for NVMe supported device. Use correct feature type
field.

Link: https://lore.kernel.org/r/20220310092604.22950-12-njavali@marvell.com
Fixes: 29367847ef03 ("scsi: qla2xxx: Migrate switch registration commands away from mailbox interface")
Cc: stable@vger.kernel.org
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gs.c