|WARNING| pw168383 [PATCH 1/4] common/dpaax: fix unused variable warning in non-debug build
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Aug 27 02:00:54 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/168383
_coding style issues_
WARNING:MACRO_ARG_UNUSED: Argument 'fmt' is not used in function-like macro
#127: FILE: drivers/common/dpaax/dpaax_logs.h:21:
+#define DPAAX_HWWARN(cond, fmt, ...) do { RTE_SET_USED(cond); } while (0)
WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#127: FILE: drivers/common/dpaax/dpaax_logs.h:21:
+#define DPAAX_HWWARN(cond, fmt, ...) do { RTE_SET_USED(cond); } while (0)
total: 0 errors, 2 warnings, 15 lines checked
More information about the test-report
mailing list