automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw55044 [PATCH v5 10/15] net/hinic: add various headers
       [not found] <00f9f28fc8d93ddb965a935622c83c0cc137532d.1560958308.git.xuanziyang2@huawei.com>
@ 2019-06-20  9:51 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-06-20  9:51 UTC (permalink / raw)
  To: test-report; +Cc: Ziyang Xuan

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-20  9:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <00f9f28fc8d93ddb965a935622c83c0cc137532d.1560958308.git.xuanziyang2@huawei.com>
2019-06-20  9:51 ` [dpdk-test-report] |WARNING| pw55044 [PATCH v5 10/15] net/hinic: add various headers checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).