From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: <pbhagavatula@marvell.com>
Subject: |WARNING| pw147212 [PATCH v5 21/22] common/cnxk: update timer base code
Date: Fri, 25 Oct 2024 10:19:25 +0200 (CEST) [thread overview]
Message-ID: <20241025081925.F0F33123108@dpdk.org> (raw)
In-Reply-To: <20241025081353.25759-21-pbhagavatula@marvell.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/147212
_coding style issues_
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#108: FILE: drivers/common/cnxk/hw/tim.h:50:
+#define TIM_LF_SCHED_TIMER0 (0x480)
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#109: FILE: drivers/common/cnxk/hw/tim.h:51:
+#define TIM_LF_RING_FIRST_EXPIRY (0x558)
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#112: FILE: drivers/common/cnxk/hw/tim.h:54:
+#define TIM_MAX_INTERVAL_EXT_TICKS ((1ULL << 34) - 1)
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#116: FILE: drivers/common/cnxk/hw/tim.h:58:
+#define TIM_BUCKET_MIN_GAP 1
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#117: FILE: drivers/common/cnxk/hw/tim.h:59:
+#define TIM_NPA_TMO 0xFFFF
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#128: FILE: drivers/common/cnxk/roc_mbox.h:167:
+ M(TIM_CONFIG_HWWQE, 0x807, tim_config_hwwqe, tim_cfg_hwwqe_req, \
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#128: FILE: drivers/common/cnxk/roc_mbox.h:167:
+ M(TIM_CONFIG_HWWQE, 0x807, tim_config_hwwqe, tim_cfg_hwwqe_req, \
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#128: FILE: drivers/common/cnxk/roc_mbox.h:167:
+ M(TIM_CONFIG_HWWQE, 0x807, tim_config_hwwqe, tim_cfg_hwwqe_req, \
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#130: FILE: drivers/common/cnxk/roc_mbox.h:169:
+ M(TIM_GET_HW_INFO, 0x808, tim_get_hw_info, msg_req, tim_hw_info) \
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#130: FILE: drivers/common/cnxk/roc_mbox.h:169:
+ M(TIM_GET_HW_INFO, 0x808, tim_get_hw_info, msg_req, tim_hw_info) \
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#130: FILE: drivers/common/cnxk/roc_mbox.h:169:
+ M(TIM_GET_HW_INFO, 0x808, tim_get_hw_info, msg_req, tim_hw_info) \
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#138: FILE: drivers/common/cnxk/roc_mbox.h:2809:
+ TIM_AF_LF_START_SYNC_FAIL = -818,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#156: FILE: drivers/common/cnxk/roc_mbox.h:2910:
+struct tim_cfg_hwwqe_req {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#171: FILE: drivers/common/cnxk/roc_mbox.h:2925:
+struct tim_feat_info {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#180: FILE: drivers/common/cnxk/roc_mbox.h:2934:
+struct tim_hw_info {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#182: FILE: drivers/common/cnxk/roc_mbox.h:2936:
+ struct tim_feat_info feat;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#205: FILE: drivers/common/cnxk/roc_tim.c:91:
+ case TIM_AF_LF_START_SYNC_FAIL:
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#231: FILE: drivers/common/cnxk/roc_tim.c:144:
+ if (rc == TIM_AF_LF_START_SYNC_FAIL && retry_cnt--)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#245: FILE: drivers/common/cnxk/roc_tim.c:196:
+roc_tim_lf_config(struct roc_tim *roc_tim, uint8_t ring_id, enum roc_tim_clk_src clk_src,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#245: FILE: drivers/common/cnxk/roc_tim.c:196:
+roc_tim_lf_config(struct roc_tim *roc_tim, uint8_t ring_id, enum roc_tim_clk_src clk_src,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#245: FILE: drivers/common/cnxk/roc_tim.c:196:
+roc_tim_lf_config(struct roc_tim *roc_tim, uint8_t ring_id, enum roc_tim_clk_src clk_src,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#245: FILE: drivers/common/cnxk/roc_tim.c:196:
+roc_tim_lf_config(struct roc_tim *roc_tim, uint8_t ring_id, enum roc_tim_clk_src clk_src,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#266: FILE: drivers/common/cnxk/roc_tim.c:234:
+roc_tim_lf_config_hwwqe(struct roc_tim *roc_tim, uint8_t ring_id, struct roc_tim_hwwqe_cfg *cfg)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#266: FILE: drivers/common/cnxk/roc_tim.c:234:
+roc_tim_lf_config_hwwqe(struct roc_tim *roc_tim, uint8_t ring_id, struct roc_tim_hwwqe_cfg *cfg)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#266: FILE: drivers/common/cnxk/roc_tim.c:234:
+roc_tim_lf_config_hwwqe(struct roc_tim *roc_tim, uint8_t ring_id, struct roc_tim_hwwqe_cfg *cfg)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#266: FILE: drivers/common/cnxk/roc_tim.c:234:
+roc_tim_lf_config_hwwqe(struct roc_tim *roc_tim, uint8_t ring_id, struct roc_tim_hwwqe_cfg *cfg)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#268: FILE: drivers/common/cnxk/roc_tim.c:236:
+ struct sso *sso = roc_sso_to_sso_priv(roc_tim->roc_sso);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#271: FILE: drivers/common/cnxk/roc_tim.c:239:
+ struct tim_cfg_hwwqe_req *req;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#274: FILE: drivers/common/cnxk/roc_tim.c:242:
+ req = mbox_alloc_msg_tim_config_hwwqe(mbox);
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#286: FILE: drivers/common/cnxk/roc_tim.c:254:
+ req->npa_tmo_cntr = TIM_NPA_TMO;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#287: FILE: drivers/common/cnxk/roc_tim.c:255:
+ req->ins_min_gap = TIM_BUCKET_MIN_GAP;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#291: FILE: drivers/common/cnxk/roc_tim.c:259:
+ tim_err_desc(rc);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#308: FILE: drivers/common/cnxk/roc_tim.c:402:
+tim_hw_info_get(struct roc_tim *roc_tim)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#308: FILE: drivers/common/cnxk/roc_tim.c:402:
+tim_hw_info_get(struct roc_tim *roc_tim)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#308: FILE: drivers/common/cnxk/roc_tim.c:402:
+tim_hw_info_get(struct roc_tim *roc_tim)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#310: FILE: drivers/common/cnxk/roc_tim.c:404:
+ struct dev *dev = &roc_sso_to_sso_priv(roc_tim->roc_sso)->dev;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#312: FILE: drivers/common/cnxk/roc_tim.c:406:
+ struct tim_hw_info *rsp;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#315: FILE: drivers/common/cnxk/roc_tim.c:409:
+ mbox_alloc_msg_tim_get_hw_info(mbox);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#324: FILE: drivers/common/cnxk/roc_tim.c:418:
+ mbox_memcpy(&roc_tim->feat, &rsp->feat, sizeof(roc_tim->feat));
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#324: FILE: drivers/common/cnxk/roc_tim.c:418:
+ mbox_memcpy(&roc_tim->feat, &rsp->feat, sizeof(roc_tim->feat));
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#339: FILE: drivers/common/cnxk/roc_tim.c:445:
+ rc = tim_hw_info_get(roc_tim);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#339: FILE: drivers/common/cnxk/roc_tim.c:445:
+ rc = tim_hw_info_get(roc_tim);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#352: FILE: drivers/common/cnxk/roc_tim.h:22:
+struct roc_tim_hwwqe_cfg {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#365: FILE: drivers/common/cnxk/roc_tim.h:35:
+ struct tim_feat_info feat;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#378: FILE: drivers/common/cnxk/roc_tim.h:49:
+ enum roc_tim_clk_src clk_src, uint8_t ena_periodic, uint8_t ena_dfb,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#381: FILE: drivers/common/cnxk/roc_tim.h:52:
+int __roc_api roc_tim_lf_config_hwwqe(struct roc_tim *roc_tim, uint8_t ring_id,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#381: FILE: drivers/common/cnxk/roc_tim.h:52:
+int __roc_api roc_tim_lf_config_hwwqe(struct roc_tim *roc_tim, uint8_t ring_id,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#381: FILE: drivers/common/cnxk/roc_tim.h:52:
+int __roc_api roc_tim_lf_config_hwwqe(struct roc_tim *roc_tim, uint8_t ring_id,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#382: FILE: drivers/common/cnxk/roc_tim.h:53:
+ struct roc_tim_hwwqe_cfg *cfg);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#394: FILE: drivers/common/cnxk/version.map:531:
+ roc_tim_lf_config_hwwqe;
total: 0 errors, 50 warnings, 273 lines checked
parent reply other threads:[~2024-10-25 8:19 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20241025081353.25759-21-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=20241025081925.F0F33123108@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).