|WARNING| pw150811 [PATCH v2 04/54] net/e1000/base: remove unused parameter workaround

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Feb 4 16:13:36 CET 2025


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

_coding style issues_


WARNING:TYPO_SPELLING: 'dilligently' may be misspelled - perhaps 'diligently'?
#71: 
unused parameters explicitly and dilligently uses them where they are

WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#154: FILE: drivers/net/intel/e1000/base/e1000_osdep.h:38:
+#define UNREFERENCED_PARAMETER(_p) do { \
+	RTE_SET_USED(_p); \
+} while (0)

WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#162: FILE: drivers/net/intel/e1000/base/e1000_osdep.h:42:
+#define UNREFERENCED_1PARAMETER(_p) do { \
+	RTE_SET_USED(_p); \
+} while (0)

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


More information about the test-report mailing list