[dpdk-test-report] |WARNING| pw55044 [PATCH v5 10/15] net/hinic: add various headers

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 20 11:51:18 CEST 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'Y' - possible side-effects?
#112: FILE: drivers/net/hinic/base/hinic_compat.h:71:
+#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'Y' - possible side-effects?
#115: FILE: drivers/net/hinic/base/hinic_compat.h:74:
+#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))

CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#129: FILE: drivers/net/hinic/base/hinic_compat.h:88:
+		HINIC_DRIVER_NAME": " fmt "
", ##args)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'txq' - possible side-effects?
#986: FILE: drivers/net/hinic/hinic_pmd_tx.h:13:
+#define HINIC_GET_WQ_TAIL(txq)		\
+		((txq)->wq->queue_buf_vaddr + (txq)->wq->wq_buf_size)

total: 0 errors, 0 warnings, 4 checks, 1051 lines checked


More information about the test-report mailing list