[dpdk-test-report] |WARNING| pw64324 [PATCH v2] net/axgbe: add a HW quirk for register definitions

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jan 9 08:09:01 CET 2020


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/64324

_coding style issues_

Must be a reply to the first patch (--in-reply-to).


WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#144: FILE: drivers/net/axgbe/axgbe_ethdev.c:35:
+extern struct rte_pci_bus rte_pci_bus;

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#165: FILE: drivers/net/axgbe/axgbe_ethdev.c:616:
+	if (root_complex_dev->id.vendor_id == AMD_PCI_VENDOR_ID &&
[...]
+			pdata->xpcs_window_def_reg = PCS_V2_RV_WINDOW_DEF;

total: 0 errors, 2 warnings, 0 checks, 61 lines checked


More information about the test-report mailing list