* [dpdk-test-report] |WARNING| pw48676 [v3, 14/34] net/ice: Add structures for RX/TX queues
[not found] <1544598004-27099-15-git-send-email-wenzhuo.lu@intel.com>
@ 2018-12-12 6:56 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-12-12 6:56 UTC (permalink / raw)
To: test-report; +Cc: Wenzhuo Lu
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
^ permalink raw reply [flat|nested] only message in thread