[dpdk-test-report] |WARNING| pw48277 [2/7] examples/ipsec-secgw: allow to specify neighbor mac address
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Nov 22 19:51:37 CET 2018
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/48277
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#96: FILE: examples/ipsec-secgw/parser.c:309:
+#define PARSE_UINT8x16(s, v, l) \
+do { \
+ char *end; \
+ unsigned long t; \
+ errno = 0; \
+ t = strtoul((s), &end, 16); \
+ if (errno != 0 || end[0] != (l) || t > UINT8_MAX) \
+ return -EINVAL; \
+ (s) = end + 1; \
+ (v) = t; \
+} while (0)
total: 0 errors, 1 warnings, 162 lines checked
More information about the test-report
mailing list