diff options
author | 2023-06-07 17:08:42 +0530 | |
---|---|---|
committer | 2023-06-14 22:06:02 -0400 | |
commit | b1b9d3825df4c757d653d0b1df66f084835db9c3 (patch) | |
tree | cbeac50c3497083edd524ef1489b06aea3a193c8 /scripts/generate_rust_analyzer.py | |
parent | scsi: qla2xxx: Pointer may be dereferenced (diff) | |
download | wireguard-linux-b1b9d3825df4c757d653d0b1df66f084835db9c3.tar.xz wireguard-linux-b1b9d3825df4c757d653d0b1df66f084835db9c3.zip |
scsi: qla2xxx: Correct the index of array
Klocwork reported array 'port_dstate_str' of size 10 may use index value(s)
10..15.
Add a fix to correct the index of array.
Cc: stable@vger.kernel.org
Signed-off-by: Bikash Hazarika <bhazarika@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20230607113843.37185-8-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions