* |WARNING| pw132206 [PATCH v8 03/12] eventdev/dma: support adapter create and free [not found] <20230929115051.564063-4-amitprakashs@marvell.com> @ 2023-09-29 11:55 ` checkpatch 0 siblings, 0 replies; only message in thread From: checkpatch @ 2023-09-29 11:55 UTC (permalink / raw) To: test-report; +Cc: Amit Prakash Shukla Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/132206 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #141: 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 11:55 UTC | newest] Thread overview: (only message) (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20230929115051.564063-4-amitprakashs@marvell.com> 2023-09-29 11:55 ` |WARNING| pw132206 [PATCH v8 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).