]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85bf2cf3b73a4295480bc32fde880b8111b157fb
tree254eecc218fb74291414de2fc08bbc3bda32a4f7
parent89f6fe2e4090414cbae1040fdd36065f8736aeb2
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