summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_scsi.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2022-04-13 01:19:56 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-04-19 05:48:45 +0300
commit5295d19d4f97d66d88cea26ff3ef779a37264134 (patch)
treefc7ff956f2ddb4466b61baffae2a361502b2f2e0 /drivers/scsi/lpfc/lpfc_scsi.c
parent39a1a86b9da22738f45460b50938515de8b9e48e (diff)
downloadlinux-5295d19d4f97d66d88cea26ff3ef779a37264134.tar.xz
scsi: lpfc: Correct CRC32 calculation for congestion stats
lpfc_cgn_calc_crc32() is returning 32 bits, and lpfc_cgn_update_stat() was using u16 to store the crc32 value. Correct by redeclaring the local variable to u32. Link: https://lore.kernel.org/r/20220412222008.126521-15-jsmart2021@gmail.com Co-developed-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
0 files changed, 0 insertions, 0 deletions