[dpdk-test-report] |WARNING| pw44317 [2/3] net/enetc: add ENETC PMD with basic operations

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 6 07:56:08 CEST 2018


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

_coding style issues_


WARNING:TYPO_SPELLING: 'intialisation' may be misspelled - perhaps 'initialisation'?
#20: 
hardware intialisation

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'txq' may be better as '(txq)' to avoid precedence issues
#287: FILE: drivers/net/enetc/base/enetc_hw.h:130:
+#define ENETC_TX_ADDR(txq, addr) ((void *)(txq->enetc_txbdr + addr))

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'addr' may be better as '(addr)' to avoid precedence issues
#287: FILE: drivers/net/enetc/base/enetc_hw.h:130:
+#define ENETC_TX_ADDR(txq, addr) ((void *)(txq->enetc_txbdr + addr))

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'reg' may be better as '(reg)' to avoid precedence issues
#472: FILE: drivers/net/enetc/enetc.h:89:
+#define ENETC_GET_HW_ADDR(reg, addr) ((void *)(reg + addr))

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'addr' may be better as '(addr)' to avoid precedence issues
#472: FILE: drivers/net/enetc/enetc.h:89:
+#define ENETC_GET_HW_ADDR(reg, addr) ((void *)(reg + addr))

total: 0 errors, 1 warnings, 736 lines checked


More information about the test-report mailing list