|WARNING| pw169654 [PATCH v3 7/7] app/validate-bpf: add BPF validation application
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Sep 15 21:29:23 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/169654
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#2382: 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, 2930 lines checked
More information about the test-report
mailing list