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 C56FAA0C43 for ; Thu, 23 Sep 2021 23:32:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA502411D1; Thu, 23 Sep 2021 23:32:17 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 8108C4116E for ; Thu, 23 Sep 2021 23:32:16 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 5A73812075A; Thu, 23 Sep 2021 23:32:16 +0200 (CEST) In-Reply-To: <20210923213046.3157-1-pbhagavatula@marvell.com> References: <20210923213046.3157-1-pbhagavatula@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Message-Id: <20210923213216.5A73812075A@dpdk.org> Date: Thu, 23 Sep 2021 23:32:16 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw99500 [PATCH v3 1/2] event/cnxk: update min interval calculation 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/99500 _coding style issues_ WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #114: FILE: drivers/common/cnxk/roc_mbox.h:134: + M(TIM_GET_MIN_INTVL, 0x805, tim_get_min_intvl, tim_intvl_req, \ WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #114: FILE: drivers/common/cnxk/roc_mbox.h:134: + M(TIM_GET_MIN_INTVL, 0x805, tim_get_min_intvl, tim_intvl_req, \ WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #114: FILE: drivers/common/cnxk/roc_mbox.h:134: + M(TIM_GET_MIN_INTVL, 0x805, tim_get_min_intvl, tim_intvl_req, \ WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #115: FILE: drivers/common/cnxk/roc_mbox.h:135: + tim_intvl_rsp) \ WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #133: FILE: drivers/common/cnxk/roc_mbox.h:1776: +struct tim_intvl_req { WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #139: FILE: drivers/common/cnxk/roc_mbox.h:1782: +struct tim_intvl_rsp { WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #175: FILE: drivers/common/cnxk/roc_tim.c:179: +roc_tim_lf_interval(struct roc_tim *roc_tim, enum roc_tim_clk_src clk_src, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #175: FILE: drivers/common/cnxk/roc_tim.c:179: +roc_tim_lf_interval(struct roc_tim *roc_tim, enum roc_tim_clk_src clk_src, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #175: FILE: drivers/common/cnxk/roc_tim.c:179: +roc_tim_lf_interval(struct roc_tim *roc_tim, enum roc_tim_clk_src clk_src, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #175: FILE: drivers/common/cnxk/roc_tim.c:179: +roc_tim_lf_interval(struct roc_tim *roc_tim, enum roc_tim_clk_src clk_src, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #179: FILE: drivers/common/cnxk/roc_tim.c:183: + struct dev *dev = &roc_sso_to_sso_priv(roc_tim->roc_sso)->dev; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #180: FILE: drivers/common/cnxk/roc_tim.c:184: + struct tim_intvl_req *req; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #181: FILE: drivers/common/cnxk/roc_tim.c:185: + struct tim_intvl_rsp *rsp; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #184: FILE: drivers/common/cnxk/roc_tim.c:188: + req = mbox_alloc_msg_tim_get_min_intvl(dev->mbox); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #192: FILE: drivers/common/cnxk/roc_tim.c:196: + tim_err_desc(rc); WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #213: FILE: drivers/common/cnxk/roc_tim.h:13: + ROC_TIM_CLK_SRC_SYNCE, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #214: FILE: drivers/common/cnxk/roc_tim.h:14: + ROC_TIM_CLK_SRC_BTS, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #225: FILE: drivers/common/cnxk/roc_tim.h:40: +int __roc_api roc_tim_lf_interval(struct roc_tim *roc_tim, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #225: FILE: drivers/common/cnxk/roc_tim.h:40: +int __roc_api roc_tim_lf_interval(struct roc_tim *roc_tim, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #225: FILE: drivers/common/cnxk/roc_tim.h:40: +int __roc_api roc_tim_lf_interval(struct roc_tim *roc_tim, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #226: FILE: drivers/common/cnxk/roc_tim.h:41: + enum roc_tim_clk_src clk_src, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #240: FILE: drivers/common/cnxk/version.map:272: + roc_tim_lf_interval; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #263: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:127: + enum roc_tim_clk_src clk_src; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #282: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:147: + clk_src = cnxk_tim_convert_clk_src(rcfg->clk_src); WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #283: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:148: + if (clk_src == ROC_TIM_CLK_SRC_INVALID) { WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #285: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:150: + goto tim_hw_free; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #288: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:153: + rc = cnxk_tim_get_clk_freq(dev, clk_src, &clk_freq); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #291: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:156: + goto tim_hw_free; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #294: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:159: + rc = roc_tim_lf_interval(&dev->tim, clk_src, clk_freq, &min_intvl_ns, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #294: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:159: + rc = roc_tim_lf_interval(&dev->tim, clk_src, clk_freq, &min_intvl_ns, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #298: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:163: + goto tim_hw_free; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #313: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:178: + goto tim_hw_free; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #317: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:182: + tim_ring->tck_nsec = WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #319: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:184: + cnxk_tim_ns_per_tck(clk_freq))); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #321: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:186: + tim_ring->tck_int = round((long double)tim_ring->tck_nsec / WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #321: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:186: + tim_ring->tck_int = round((long double)tim_ring->tck_nsec / WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #322: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:187: + cnxk_tim_ns_per_tck(clk_freq)); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #323: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:188: + tim_ring->tck_nsec = WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #324: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:189: + ceil(tim_ring->tck_int * cnxk_tim_ns_per_tck(clk_freq)); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #324: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:189: + ceil(tim_ring->tck_int * cnxk_tim_ns_per_tck(clk_freq)); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #331: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:192: + tim_ring->clk_src = clk_src; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #344: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:236: + rc = roc_tim_lf_config(&dev->tim, tim_ring->ring_id, clk_src, 0, 0, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #344: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:236: + rc = roc_tim_lf_config(&dev->tim, tim_ring->ring_id, clk_src, 0, 0, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #344: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:236: + rc = roc_tim_lf_config(&dev->tim, tim_ring->ring_id, clk_src, 0, 0, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #345: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:237: + tim_ring->nb_bkts, tim_ring->chunk_sz, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #345: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:237: + tim_ring->nb_bkts, tim_ring->chunk_sz, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #346: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:238: + tim_ring->tck_int, tim_ring->tck_nsec, clk_freq); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #346: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:238: + tim_ring->tck_int, tim_ring->tck_nsec, clk_freq); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #381: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:142: + enum roc_tim_clk_src clk_src; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #392: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:163: +cnxk_tim_ns_per_tck(uint64_t freq) WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #425: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:202: +static inline enum roc_tim_clk_src WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #426: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:203: +cnxk_tim_convert_clk_src(enum rte_event_timer_adapter_clk_src clk_src) WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #430: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:207: + return ROC_TIM_CLK_SRC_GTI; WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #432: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:209: + return ROC_TIM_CLK_SRC_10NS; WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #434: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:211: + return ROC_TIM_CLK_SRC_GPIO; WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #436: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:213: + return ROC_TIM_CLK_SRC_PTP; WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #438: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:215: + return roc_model_constant_is_cn9k() ? ROC_TIM_CLK_SRC_INVALID : WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #439: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:216: + ROC_TIM_CLK_SRC_SYNCE; WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #441: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:218: + return ROC_TIM_CLK_SRC_INVALID; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #446: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:223: +cnxk_tim_get_clk_freq(struct cnxk_tim_evdev *dev, enum roc_tim_clk_src clk_src, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #446: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:223: +cnxk_tim_get_clk_freq(struct cnxk_tim_evdev *dev, enum roc_tim_clk_src clk_src, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #446: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:223: +cnxk_tim_get_clk_freq(struct cnxk_tim_evdev *dev, enum roc_tim_clk_src clk_src, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #454: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:231: + case ROC_TIM_CLK_SRC_GTI: WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #455: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:232: + *freq = cnxk_tim_cntfrq(); WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #457: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:234: + case ROC_TIM_CLK_SRC_10NS: WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #460: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:237: + case ROC_TIM_CLK_SRC_GPIO: WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #461: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:238: + case ROC_TIM_CLK_SRC_PTP: WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #462: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:239: + case ROC_TIM_CLK_SRC_SYNCE: total: 0 errors, 68 warnings, 325 lines checked