scsi: lpfc: Fix link speed reporting for 4-link trunk
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Mar 2019 23:30:26 +0000 (16:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Mar 2019 17:15:09 +0000 (13:15 -0400)
commitf3339800f98c30bcca1b70e4201f38b41d4926b1
treeacf6804f23a99e191c7d37e90bb9f781cb9f4cae
parent19193ff34e8d72676f3022d46893ac769f457a11
scsi: lpfc: Fix link speed reporting for 4-link trunk

Driver is using uint16_t and is encountering an overflow of the 16bits when
calculating link speed.

Fix by using a u32 type.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli4.h