|WARNING| pw135966 [PATCH v5 6/6] eal: replace out of bounds VLA with static_assert

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jan 18 17:54:27 CET 2024


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

_coding style issues_


WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#132: FILE: lib/eal/include/rte_common.h:507:
+#define RTE_BUILD_BUG_ON(condition) do { static_assert(!(condition), #condition); } while (0)

total: 0 errors, 1 warnings, 26 lines checked


More information about the test-report mailing list