* [dpdk-test-report] |WARNING| pw31370 [PATCH] eventdev: set rte errno in port link/unlink functions
[not found] <1510699450-29204-1-git-send-email-gage.eads@intel.com>
@ 2017-11-14 22:44 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-11-14 22:44 UTC (permalink / raw)
To: test-report; +Cc: Gage Eads
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/31370
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#114: FILE: lib/librte_eventdev/rte_eventdev_pmd.h:79:
+#define RTE_EVENTDEV_VALID_DEVID_OR_ERRNO_RET(dev_id, errno, retval) do { \
+ if (!rte_event_pmd_is_valid_dev((dev_id))) { \
+ RTE_EDEV_LOG_ERR("Invalid dev_id=%d
", dev_id); \
+ rte_errno = errno; \
+ return retval; \
+ } \
+} while (0)
total: 0 errors, 1 warnings, 82 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-14 22:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1510699450-29204-1-git-send-email-gage.eads@intel.com>
2017-11-14 22:44 ` [dpdk-test-report] |WARNING| pw31370 [PATCH] eventdev: set rte errno in port link/unlink 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).