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 8F024A0550 for ; Tue, 16 Feb 2021 10:37:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AE961606CC; Tue, 16 Feb 2021 10:37:25 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mails.dpdk.org (Postfix) with ESMTP id C08A040690 for ; Tue, 16 Feb 2021 10:37:23 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id BCD22C906; Tue, 16 Feb 2021 10:37:23 +0100 (CET) In-Reply-To: <20210212101343.689792-1-sthotton@marvell.com> References: <20210212101343.689792-1-sthotton@marvell.com> To: test-report@dpdk.org Cc: Shijith Thotton Message-Id: <20210216093723.BCD22C906@dpdk.org> Date: Tue, 16 Feb 2021 10:37:23 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw87882 [RFC PATCH] eventdev: use shared memory to store timer adapter 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/87882 _coding style issues_ WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #244: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:65: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #244: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:65: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #283: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:293: + adptr->data.adapter_priv = tim_ring; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #288: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:297: + tim_ring->ring_id = adptr->data.id; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #306: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:429: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #306: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:429: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #315: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:472: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #315: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:472: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #324: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:495: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #324: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:495: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #342: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:525: + struct otx2_tim_ring *tim_ring = adapter->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #342: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:525: + struct otx2_tim_ring *tim_ring = adapter->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #351: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:540: + struct otx2_tim_ring *tim_ring = adapter->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #351: FILE: drivers/event/octeontx2/otx2_tim_evdev.c:540: + struct otx2_tim_ring *tim_ring = adapter->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #364: FILE: drivers/event/octeontx2/otx2_tim_worker.c:64: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #364: FILE: drivers/event/octeontx2/otx2_tim_worker.c:64: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #373: FILE: drivers/event/octeontx2/otx2_tim_worker.c:103: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #373: FILE: drivers/event/octeontx2/otx2_tim_worker.c:103: + struct otx2_tim_ring *tim_ring = adptr->data.adapter_priv; WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #931: FILE: lib/librte_eventdev/rte_event_timer_adapter.h:551: +#define ADAPTER_VALID_OR_ERR_RET(adapter, retval) do { \ + if (adapter == NULL) { \ + return retval; \ + } else { \ + int i; \ + for (i = 0; i < RTE_EVENT_TIMER_ADAPTER_NUM_MAX; i++) { \ + if (adapters[i] == adapter) \ + break; \ + } \ + if (i == RTE_EVENT_TIMER_ADAPTER_NUM_MAX) \ + return retval; \ + } \ } while (0) total: 0 errors, 19 warnings, 815 lines checked