[dpdk-test-report] |WARNING| pw55004 [PATCH v3 17/69] net/ice/base: use macro instead of magic 8
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Jun 19 17:38:47 CEST 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/55004
_coding style issues_
CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_offset_bytes' may be better as '(_offset_bytes)' to avoid precedence issues
#71: 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
#71: 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
More information about the test-report
mailing list