|WARNING| pw135404 [PATCH v5 03/13] lib: use dedicated logtypes and macros

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Dec 20 16:39:26 CET 2023


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#196: 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