* [dpdk-test-report] |WARNING| pw68757 [PATCH v2 4/4] regexdev: implement regex rte level functions
[not found] <1587127417-82492-5-git-send-email-orika@mellanox.com>
@ 2020-04-17 12:45 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-04-17 12:45 UTC (permalink / raw)
To: test-report; +Cc: Ori Kam
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/68757
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#576: FILE: lib/librte_regexdev/rte_regexdev.h:217:
+#define RTE_REGEXDEV_VALID_DEV_ID_OR_ERR_RET(dev_id, retval) do { \
+ if (!rte_regexdev_is_valid_dev(dev_id)) { \
+ RTE_REGEXDEV_LOG(ERR, "Invalid dev_id=%u
", dev_id); \
+ return retval; \
+ } \
+} while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#583: FILE: lib/librte_regexdev/rte_regexdev.h:224:
+#define RTE_REGEXDEV_VALID_DEV_ID_OR_RET(dev_id) do { \
+ if (!rte_regexdev_is_valid_dev(dev_id)) { \
+ RTE_REGEXDEV_LOG(ERR, "Invalid dev_id=%u
", dev_id); \
+ return; \
+ } \
+} while (0)
total: 0 errors, 2 warnings, 597 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-17 12:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1587127417-82492-5-git-send-email-orika@mellanox.com>
2020-04-17 12:45 ` [dpdk-test-report] |WARNING| pw68757 [PATCH v2 4/4] regexdev: implement regex rte level functions checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).