Commit 0b86325
scsi: qla2xxx: Use transport-defined speed mask for supported_speeds
One of the sysfs values reported for supported_speeds was not valid (20Gb/s
reported instead of 64Gb/s). Instead of driver internal speed mask
definition, use speed mask defined in transport_fc for reporting
host->supported_speeds.
Link: https://lore.kernel.org/r/20220927115946.17559-1-njavali@marvell.com
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>1 parent f915f58 commit 0b86325
1 file changed
Lines changed: 26 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3330 | 3330 | | |
3331 | 3331 | | |
3332 | 3332 | | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
3333 | 3356 | | |
3334 | 3357 | | |
3335 | 3358 | | |
3336 | 3359 | | |
3337 | | - | |
| 3360 | + | |
3338 | 3361 | | |
3339 | 3362 | | |
3340 | 3363 | | |
| |||
3344 | 3367 | | |
3345 | 3368 | | |
3346 | 3369 | | |
3347 | | - | |
| 3370 | + | |
| 3371 | + | |
3348 | 3372 | | |
3349 | 3373 | | |
3350 | 3374 | | |
0 commit comments