* |WARNING| pw106851 [PATCH v6] eventdev/eth_rx: fix memory leak when token parsing finished
[not found] <tencent_9F23668EE7F9D43C625FA7E73B61E4506405@qq.com>
@ 2022-02-04 8:23 ` checkpatch
2022-02-04 10:19 ` |SUCCESS| " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2022-02-04 8:23 UTC (permalink / raw)
To: test-report; +Cc: Weiguo Li
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/106851
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#105: FILE: lib/eventdev/rte_event_eth_rx_adapter.c:296:
+#define RTE_EVENT_ETH_RX_ADAPTER_ID_VALID_OR_GOTO_ERR_RET(id, retval) do { \
+ if (!rxa_validate_id(id)) { \
+ RTE_EDEV_LOG_ERR("Invalid eth Rx adapter id = %d
", id); \
+ ret = retval; \
+ goto error; \
+ } \
+} while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#113: FILE: lib/eventdev/rte_event_eth_rx_adapter.c:304:
+#define RTE_EVENT_ETH_RX_ADAPTER_TOKEN_VALID_OR_GOTO_ERR_RET(token, retval) do { \
+ if ((token) == NULL || strlen(token) == 0 || !isdigit(*token)) { \
+ RTE_EDEV_LOG_ERR("Invalid eth Rx adapter token
"); \
+ ret = retval; \
+ goto error; \
+ } \
+} while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#121: FILE: lib/eventdev/rte_event_eth_rx_adapter.c:312:
+#define RTE_ETH_VALID_PORTID_OR_GOTO_ERR_RET(port_id, retval) do { \
+ if (!rte_eth_dev_is_valid_port(port_id)) { \
+ RTE_ETHDEV_LOG(ERR, "Invalid port_id=%u
", port_id); \
+ ret = retval; \
+ goto error; \
+ } \
+} while (0)
total: 0 errors, 3 warnings, 216 lines checked
^ permalink raw reply [flat|nested] 2+ messages in thread
* |SUCCESS| pw106851 [PATCH v6] eventdev/eth_rx: fix memory leak when token parsing finished
[not found] <tencent_9F23668EE7F9D43C625FA7E73B61E4506405@qq.com>
2022-02-04 8:23 ` |WARNING| pw106851 [PATCH v6] eventdev/eth_rx: fix memory leak when token parsing finished checkpatch
@ 2022-02-04 10:19 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2022-02-04 10:19 UTC (permalink / raw)
To: test-report; +Cc: robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: SUCCESS
http://patchwork.dpdk.org/patch/106851/
_github build: passed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/1793993329
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-04 9:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tencent_9F23668EE7F9D43C625FA7E73B61E4506405@qq.com>
2022-02-04 8:23 ` |WARNING| pw106851 [PATCH v6] eventdev/eth_rx: fix memory leak when token parsing finished checkpatch
2022-02-04 10:19 ` |SUCCESS| " 0-day Robot
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).