[dpdk-test-report] |WARNING| pw92455 [PATCH 2/4] drivers/net/enetfec: UIO support added

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 30 06:36:17 CEST 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'feild' may be misspelled - perhaps 'field'?
#107: FILE: drivers/net/enetfec/enet_ethdev.c:40:
+/* Pause frame feild and FIFO threshold */

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#374: FILE: drivers/net/enetfec/enet_regs.h:55:
+#define ENET_RD_START(X)	(((X) == 1) ? ENET_RD_START_1 : \
+				(((X) == 2) ? \
+					ENET_RD_START_2 : ENET_RD_START_0))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#377: FILE: drivers/net/enetfec/enet_regs.h:58:
+#define ENET_TD_START(X)	(((X) == 1) ? ENET_TD_START_1 : \
+				(((X) == 2) ? \
+					ENET_TD_START_2 : ENET_TD_START_0))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#380: FILE: drivers/net/enetfec/enet_regs.h:61:
+#define ENET_MRB_SIZE(X)	(((X) == 1) ? ENET_MRB_SIZE_1 : \
+				(((X) == 2) ? \
+					ENET_MRB_SIZE_2 : ENET_MRB_SIZE_0))

WARNING:TYPO_SPELLING: 'succes' may be misspelled - perhaps 'success'?
#536: FILE: drivers/net/enetfec/enet_uio.c:32:
+ * @retval 0 for succes

total: 0 errors, 2 warnings, 3 checks, 668 lines checked


More information about the test-report mailing list