]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: qla2xxx: Supported speed displayed incorrectly for VPorts
authorAnil Gurumurthy <agurumurthy@marvell.com>
Fri, 15 Nov 2024 13:03:12 +0000 (18:33 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 4 Dec 2024 18:22:59 +0000 (13:22 -0500)
commite4e268f898c8a08f0a1188677e15eadbc06e98f6
treeb102b2de236c4fcacb432e135c4fc179ebd2b799
parent4812b7796c144f63a1094f79a5eb8fbdad8d7ebc
scsi: qla2xxx: Supported speed displayed incorrectly for VPorts

The fc_function_template for vports was missing the
.show_host_supported_speeds. The base port had the same.

Add .show_host_supported_speeds to the vport template as well.

Cc: stable@vger.kernel.org
Fixes: 2c3dfe3f6ad8 ("[SCSI] qla2xxx: add support for NPIV")
Signed-off-by: Anil Gurumurthy <agurumurthy@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20241115130313.46826-7-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_attr.c