[dpdk-test-report] |WARNING| pw48981 [v5, 13/31] net/ice/base: add structures for RX/TX queues

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Dec 17 08:34:37 CET 2018


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

_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