[dpdk-test-report] |WARNING| pw71890 [PATCH 23/70] net/e1000/base: remove duplicated codes from 82575

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 22 09:10:08 CEST 2020


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

_coding style issues_


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

WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment
#675: FILE: drivers/net/e1000/base/e1000_82575.c:1501:
+	/* fall through */

WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment
#679: FILE: drivers/net/e1000/base/e1000_82575.c:1505:
+		/* fall through */

WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment
#681: FILE: drivers/net/e1000/base/e1000_82575.c:1507:
+		/* fall through */

WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment
#683: FILE: drivers/net/e1000/base/e1000_82575.c:1509:
+		/* fall through */

WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment
#685: FILE: drivers/net/e1000/base/e1000_82575.c:1511:
+		/* fall through */

WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment
#687: FILE: drivers/net/e1000/base/e1000_82575.c:1513:
+		/* fall through */

WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment
#689: FILE: drivers/net/e1000/base/e1000_82575.c:1515:
+		/* fall through */

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

total: 0 errors, 8 warnings, 1 checks, 1206 lines checked


More information about the test-report mailing list