* [dpdk-test-report] |WARNING| pw28164 [PATCH v3 4/5] examples/flow_classify: flow classify sample application
[not found] <1504191287-11349-5-git-send-email-bernard.iremonger@intel.com>
@ 2017-08-31 14:56 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-08-31 14:56 UTC (permalink / raw)
To: test-report; +Cc: Bernard Iremonger
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/28164
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#181: FILE: examples/flow_classify/flow_classify.c:73:
+#define GET_CB_FIELD(in, fd, base, lim, dlm) do { \
+ unsigned long val; \
+ char *end; \
+ errno = 0; \
+ val = strtoul((in), &end, (base)); \
+ if (errno != 0 || end[0] != (dlm) || val > (lim)) \
+ return -EINVAL; \
+ (fd) = (typeof(fd))val; \
+ (in) = end + 1; \
+} while (0)
total: 0 errors, 1 warnings, 950 lines checked
^ permalink raw reply [flat|nested] only message in thread