[dpdk-test-report] |WARNING| pw79635 [PATCH v2 18/56] net/txgbe: add MAC address operations

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 5 14:17:12 CEST 2020


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

_coding style issues_


WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#125: FILE: drivers/net/txgbe/base/txgbe_hw.c:20:
+STATIC s32 txgbe_mta_vector(struct txgbe_hw *hw, u8 *mc_addr);

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#126: FILE: drivers/net/txgbe/base/txgbe_hw.c:21:
+STATIC s32 txgbe_get_san_mac_addr_offset(struct txgbe_hw *hw,

WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'txgbe_update_mc_addr_list', this function's name, in a string
#468: FILE: drivers/net/txgbe/base/txgbe_hw.c:433:
+	DEBUGOUT("txgbe_update_mc_addr_list Complete
");

total: 0 errors, 3 warnings, 0 checks, 702 lines checked


More information about the test-report mailing list