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)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Aug 2021 18:43:05 +0000 (13:43 -0500)
commit52f0a1e007703a99d77cc43fcb8661158d86c861
treee769f9b60dd3a802907441349662a76b35e137e2
parent0ff25f6a17c76d50e5d4bdd29bb69ad173a3cde1
cxgb4: Validate VPD checksum with pci_vpd_check_csum()

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

Link: https://lore.kernel.org/r/70404ece-0036-c0ce-f824-f5637e54115e@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c