|WARNING| pw169747 [PATCH v4 7/7] app/validate-bpf: add BPF validation application
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Sep 17 16:38:12 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/169747
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#2392: FILE: app/validate-bpf/parse_decl.c:16:
+#define RETURN_TEXT_ERROR(text, text_start, message, ...) do { \
+ const int _offset = (text) - (text_start); \
+ VALIDATE_BPF_LOG(ERR, "at offset %d: " message, \
+ _offset, ## __VA_ARGS__); \
+ VALIDATE_BPF_LOG(NOTICE, "%s", text_start); \
+ VALIDATE_BPF_LOG(NOTICE, "%*c", _offset + 1, '^'); \
+ return -1; \
+} while (0)
total: 0 errors, 1 warnings, 2906 lines checked
More information about the test-report
mailing list