automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw54675 [PATCH v2 18/66] net/ice/base: use macro instead of magic 8
       [not found] <20190611155221.2703-19-leyi.rong@intel.com>
@ 2019-06-13 13:55 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-06-13 13:55 UTC (permalink / raw)
  To: test-report; +Cc: Leyi Rong

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

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_offset_bytes' may be better as '(_offset_bytes)' to avoid precedence issues
#70: FILE: drivers/net/ice/base/ice_flow.c:39:
+#define ICE_FLOW_FLD_INFO(_hdr, _offset_bytes, _size_bytes) { \
+	.hdr = _hdr, \
+	.off = _offset_bytes * BITS_PER_BYTE, \
+	.size = _size_bytes * BITS_PER_BYTE, \
+}

CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_size_bytes' may be better as '(_size_bytes)' to avoid precedence issues
#70: FILE: drivers/net/ice/base/ice_flow.c:39:
+#define ICE_FLOW_FLD_INFO(_hdr, _offset_bytes, _size_bytes) { \
+	.hdr = _hdr, \
+	.off = _offset_bytes * BITS_PER_BYTE, \
+	.size = _size_bytes * BITS_PER_BYTE, \
+}

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

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

only message in thread, other threads:[~2019-06-13 13:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190611155221.2703-19-leyi.rong@intel.com>
2019-06-13 13:55 ` [dpdk-test-report] |WARNING| pw54675 [PATCH v2 18/66] net/ice/base: use macro instead of magic 8 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).