From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: <pbhagavatula@marvell.com>
Subject: [dpdk-test-report] |WARNING| pw99500 [PATCH v3 1/2] event/cnxk: update min interval calculation
Date: Thu, 23 Sep 2021 23:32:16 +0200 (CEST) [thread overview]
Message-ID: <20210923213216.5A73812075A@dpdk.org> (raw)
In-Reply-To: <20210923213046.3157-1-pbhagavatula@marvell.com>
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
parent reply other threads:[~2021-09-23 21:32 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20210923213046.3157-1-pbhagavatula@marvell.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210923213216.5A73812075A@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=pbhagavatula@marvell.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).