cxgb4: Validate VPD checksum with pci_vpd_check_csum()
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 22 Aug 2021 13:57:27 +0000 (15:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Aug 2021 20:45:40 +0000 (21:45 +0100)
commit96ce96f151261e33a170cecb8a4fa664b45743ab
tree254eecc218fb74291414de2fc08bbc3bda32a4f7
parent58a9b5d2621e725526a63847ae77b3a4c2c2bf93
cxgb4: Validate VPD checksum with pci_vpd_check_csum()

Validate the VPD checksum with pci_vpd_check_csum() to simplify the code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c