[dpdk-test-report] |WARNING| pw71896 [PATCH 29/70] net/e1000/base: more function name cleanup

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 22 09:11:56 CEST 2020


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

_coding style issues_


WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct e1000_hw *' should also have an identifier name
#149: FILE: drivers/net/e1000/base/e1000_hw.h:700:
+	s32  (*set_eee)(struct e1000_hw *, bool, bool, bool);

WARNING:FUNCTION_ARGUMENTS: function definition argument 'bool' should also have an identifier name
#149: FILE: drivers/net/e1000/base/e1000_hw.h:700:
+	s32  (*set_eee)(struct e1000_hw *, bool, bool, bool);

WARNING:FUNCTION_ARGUMENTS: function definition argument 'bool' should also have an identifier name
#149: FILE: drivers/net/e1000/base/e1000_hw.h:700:
+	s32  (*set_eee)(struct e1000_hw *, bool, bool, bool);

WARNING:FUNCTION_ARGUMENTS: function definition argument 'bool' should also have an identifier name
#149: FILE: drivers/net/e1000/base/e1000_hw.h:700:
+	s32  (*set_eee)(struct e1000_hw *, bool, bool, bool);

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#199: FILE: drivers/net/e1000/base/e1000_i225.c:4:
+STATIC s32 e1000_init_mac_params_i225(struct e1000_hw *hw);

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#200: FILE: drivers/net/e1000/base/e1000_i225.c:5:
+STATIC s32 e1000_init_phy_params_i225(struct e1000_hw *hw);

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#201: FILE: drivers/net/e1000/base/e1000_i225.c:6:
+STATIC s32 e1000_reset_hw_i225(struct e1000_hw *hw);

total: 0 errors, 7 warnings, 0 checks, 788 lines checked


More information about the test-report mailing list