automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw96609 [PATCH v13 4/6] dmadev: introduce DMA device library implementation
       [not found] <1627990189-36531-5-git-send-email-fengchengwen@huawei.com>
@ 2021-08-03 11:34 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-08-03 11:34 UTC (permalink / raw)
  To: test-report; +Cc: Chengwen Feng

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/96609

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#152: FILE: lib/dmadev/rte_dmadev.c:40:
+#define RTE_DMADEV_VALID_DEV_ID_OR_ERR_RET(dev_id, retval) do { \
+	if (!rte_dmadev_is_valid_dev(dev_id)) { \
+		RTE_DMADEV_LOG(ERR, "Invalid dev_id=%u
", dev_id); \
+		return retval; \
+	} \
+} while (0)

total: 0 errors, 1 warnings, 753 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-03 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1627990189-36531-5-git-send-email-fengchengwen@huawei.com>
2021-08-03 11:34 ` [dpdk-test-report] |WARNING| pw96609 [PATCH v13 4/6] dmadev: introduce DMA device library implementation 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).