[dpdk-test-report] |WARNING| pw48676 [v3, 14/34] net/ice: Add structures for RX/TX queues
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Dec 12 07:56:46 CET 2018
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/48676
_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