[dpdk-test-report] |WARNING| pw97838 [PATCH v2 2/5] net/enetfec: add UIO support
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Sep 2 20:02:42 CEST 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/97838
_coding style issues_
WARNING:TYPO_SPELLING: 'feild' may be misspelled - perhaps 'field'?
#105: FILE: drivers/net/enetfec/enet_ethdev.c:36:
+/* Pause frame feild and FIFO threshold */
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#404: FILE: drivers/net/enetfec/enet_regs.h:41:
+#define ENETFEC_RD_START(X) (((X) == 1) ? ENETFEC_RD_START_1 : \
+ (((X) == 2) ? \
+ ENETFEC_RD_START_2 : ENETFEC_RD_START_0))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#407: FILE: drivers/net/enetfec/enet_regs.h:44:
+#define ENETFEC_TD_START(X) (((X) == 1) ? ENETFEC_TD_START_1 : \
+ (((X) == 2) ? \
+ ENETFEC_TD_START_2 : ENETFEC_TD_START_0))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#410: FILE: drivers/net/enetfec/enet_regs.h:47:
+#define ENETFEC_MRB_SIZE(X) (((X) == 1) ? ENETFEC_MRB_SIZE_1 : \
+ (((X) == 2) ? \
+ ENETFEC_MRB_SIZE_2 : ENETFEC_MRB_SIZE_0))
total: 0 errors, 1 warnings, 3 checks, 641 lines checked
More information about the test-report
mailing list