|WARNING| pw169543 [PATCH v2 7/7] app/validate-bpf: add BPF validation application
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Sep 14 16:57:24 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/169543
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#2364: 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, 2901 lines checked
More information about the test-report
mailing list