|WARNING| pw136004 [PATCH v2] common/sfc: replace out of bounds condition with static_assert
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Jan 19 23:14:46 CET 2024
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/136004
_coding style issues_
WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#119: FILE: drivers/common/sfc_efx/base/efx.h:22:
+#define EFX_STATIC_ASSERT(_cond) \
+ do { static_assert((_cond), "assert failed" #_cond); } while (0)
total: 0 errors, 1 warnings, 18 lines checked
More information about the test-report
mailing list