[dpdk-test-report] |WARNING| pw48818 [v4, 14/32] net/ice/base: add structures for RX/TX queues

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Dec 14 09:32:54 CET 2018


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse '_struct' - possible side-effects?
#830: FILE: drivers/net/ice/base/ice_lan_tx_rx.h:798:
+#define ICE_CTX_STORE(_struct, _ele, _width, _lsb) {	\
+	.offset = offsetof(struct _struct, _ele),	\
+	.size_of = FIELD_SIZEOF(struct _struct, _ele),	\
+	.width = _width,				\
+	.lsb = _lsb,					\
+}

CHECK:MACRO_ARG_REUSE: Macro argument reuse '_ele' - possible side-effects?
#830: FILE: drivers/net/ice/base/ice_lan_tx_rx.h:798:
+#define ICE_CTX_STORE(_struct, _ele, _width, _lsb) {	\
+	.offset = offsetof(struct _struct, _ele),	\
+	.size_of = FIELD_SIZEOF(struct _struct, _ele),	\
+	.width = _width,				\
+	.lsb = _lsb,					\
+}

total: 0 errors, 0 warnings, 2 checks, 2291 lines checked


More information about the test-report mailing list