automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw131941 [PATCH v4 03/12] eventdev: create and free API for DMA adapter
       [not found] <20230926103233.3956431-4-amitprakashs@marvell.com>
@ 2023-09-26 10:33 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-09-26 10:33 UTC (permalink / raw)
  To: test-report; +Cc: Amit Prakash Shukla

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#140: FILE: lib/eventdev/rte_event_dma_adapter.c:19:
+#define EVENT_DMA_ADAPTER_ID_VALID_OR_ERR_RET(id, retval) \
+	do { \
+		if (!edma_adapter_valid_id(id)) { \
+			RTE_EDEV_LOG_ERR("Invalid DMA adapter id = %d
", id); \
+			return retval; \
+		} \
+	} while (0)

total: 0 errors, 1 warnings, 349 lines checked

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

only message in thread, other threads:[~2023-09-26 10:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230926103233.3956431-4-amitprakashs@marvell.com>
2023-09-26 10:33 ` |WARNING| pw131941 [PATCH v4 03/12] eventdev: create and free API for DMA adapter 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).