|WARNING| pw135268 [PATCH v4 03/14] lib: use dedicated logtypes and macros

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Dec 18 15:42:15 CET 2023


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#197: FILE: lib/eventdev/rte_event_eth_rx_adapter.c:317:
+#define RTE_EVENT_ETH_RX_ADAPTER_PORTID_VALID_OR_GOTO_ERR_RET(port_id, retval) do { \
 	if (!rte_eth_dev_is_valid_port(port_id)) { \
+		RTE_EDEV_LOG_ERR("Invalid port_id=%u", port_id); \
 		ret = retval; \
 		goto error; \
 	} \

total: 0 errors, 1 warnings, 125 lines checked


More information about the test-report mailing list