* |WARNING| pw132180 [PATCH v7 03/12] eventdev/dma: support adapter create and free
[not found] <20230929081309.464565-4-amitprakashs@marvell.com>
@ 2023-09-29 8:15 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-09-29 8:15 UTC (permalink / raw)
To: test-report; +Cc: Amit Prakash Shukla
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/132180
_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-29 8:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230929081309.464565-4-amitprakashs@marvell.com>
2023-09-29 8:15 ` |WARNING| pw132180 [PATCH v7 03/12] eventdev/dma: support adapter create and free 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).