[dpdk-test-report] |WARNING| pw72071 [PATCH v2 17/42] net/e1000/base: remove duplicated codes from 82575

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 24 10:05:23 CEST 2020


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

_coding style issues_


WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#116: FILE: drivers/net/e1000/base/e1000_82575.c:31:
+STATIC s32 e1000_init_hw_82575(struct e1000_hw *hw);

WARNING:RETURN_VOID: void function return statements are not generally useful
#1007: FILE: drivers/net/e1000/base/e1000_base.c:114:
+	return;
+}

CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#1102: FILE: drivers/net/e1000/base/e1000_base.h:11:
+extern void e1000_rx_fifo_flush_base(struct e1000_hw *hw);

total: 0 errors, 2 warnings, 1 checks, 1120 lines checked


More information about the test-report mailing list