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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 21 00:52:16 CEST 2020


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

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_mem' may be better as '(_mem)' to avoid precedence issues
#109: 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