[dpdk-test-report] |WARNING| pw82521 [PATCH v3 18/21] net/ice/base: introduce and use FLEX_ARRAY_SIZE where possible

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 28 04:26:52 CET 2020


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

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_mem' may be better as '(_mem)' to avoid precedence issues
#108: FILE: drivers/net/ice/base/ice_type.h:48:
+#define FLEX_ARRAY_SIZE(_ptr, _mem, cnt) ((cnt) * sizeof(_ptr->_mem[0]))

total: 0 errors, 0 warnings, 1 checks, 26 lines checked


More information about the test-report mailing list