From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2F6D7A0543 for ; Fri, 16 Dec 2022 22:56:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2ABF642D23; Fri, 16 Dec 2022 22:56:59 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id B971F4068E for ; Fri, 16 Dec 2022 22:56:57 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id AE5ED122E70; Fri, 16 Dec 2022 22:56:57 +0100 (CET) Subject: |WARNING| pw120990 [PATCH] eventdev/timer: add API to get remaining ticks In-Reply-To: <20221216215615.2158238-1-erik.g.carrillo@intel.com> References: <20221216215615.2158238-1-erik.g.carrillo@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Erik Gabriel Carrillo Message-Id: <20221216215657.AE5ED122E70@dpdk.org> Date: Fri, 16 Dec 2022 22:56:57 +0100 (CET) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/120990 _coding style issues_ WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #87: FILE: app/test/test_event_timer_adapter.c:1927: + struct rte_event_timer *ev_tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #90: FILE: app/test/test_event_timer_adapter.c:1930: + const struct rte_event_timer tim = { WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #99: FILE: app/test/test_event_timer_adapter.c:1939: + rte_mempool_get(eventdev_test_mempool, (void **)&ev_tim); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #100: FILE: app/test/test_event_timer_adapter.c:1940: + *ev_tim = tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #100: FILE: app/test/test_event_timer_adapter.c:1940: + *ev_tim = tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #101: FILE: app/test/test_event_timer_adapter.c:1941: + ev_tim->ev.event_ptr = ev_tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #101: FILE: app/test/test_event_timer_adapter.c:1941: + ev_tim->ev.event_ptr = ev_tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #103: FILE: app/test/test_event_timer_adapter.c:1943: + ev_tim->timeout_ticks = CALC_TICKS(TEST_TICKS); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #106: FILE: app/test/test_event_timer_adapter.c:1946: + TEST_ASSERT_FAIL(rte_event_timer_ticks_remaining_get(timdev, ev_tim, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #110: FILE: app/test/test_event_timer_adapter.c:1950: + TEST_ASSERT_EQUAL(rte_event_timer_arm_burst(timdev, &ev_tim, 1), 1, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #112: FILE: app/test/test_event_timer_adapter.c:1952: + TEST_ASSERT_EQUAL(ev_tim->state, RTE_EVENT_TIMER_ARMED, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #114: FILE: app/test/test_event_timer_adapter.c:1954: + RTE_EVENT_TIMER_ARMED, ev_tim->state); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #117: FILE: app/test/test_event_timer_adapter.c:1957: + ret = rte_event_timer_ticks_remaining_get(timdev, ev_tim, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #133: FILE: app/test/test_event_timer_adapter.c:1973: + TEST_ASSERT_EQUAL(ev_tim->state, RTE_EVENT_TIMER_NOT_ARMED, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #135: FILE: app/test/test_event_timer_adapter.c:1975: + RTE_EVENT_TIMER_NOT_ARMED, ev_tim->state); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #138: FILE: app/test/test_event_timer_adapter.c:1978: + TEST_ASSERT_FAIL(rte_event_timer_ticks_remaining_get(timdev, ev_tim, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #142: FILE: app/test/test_event_timer_adapter.c:1982: + rte_mempool_put(eventdev_test_mempool, (void *)ev_tim); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #232: FILE: lib/eventdev/rte_event_timer_adapter.c:1099: + struct rte_timer *tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #241: FILE: lib/eventdev/rte_event_timer_adapter.c:1108: + tim = (struct rte_timer *)(uintptr_t)opaque; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #244: FILE: lib/eventdev/rte_event_timer_adapter.c:1111: + if (cur_cycles > tim->expire) { WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #249: FILE: lib/eventdev/rte_event_timer_adapter.c:1116: + cycles_remaining = tim->expire - cur_cycles; total: 0 errors, 21 warnings, 217 lines checked