automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Shijith Thotton <sthotton@marvell.com>
Subject: |WARNING| pw120438 [PATCH] drivers: limit SSO interrupt allocation count in cnxk PMD
Date: Fri,  2 Dec 2022 15:47:21 +0100 (CET)	[thread overview]
Message-ID: <20221202144721.CDD02122CD9@dpdk.org> (raw)
In-Reply-To: <a0c3db977b5fe166438fe261874bbf43fbd4c76d.1669991772.git.sthotton@marvell.com>

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/120438

_coding style issues_


WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#144: FILE: drivers/common/cnxk/roc_dev_priv.h:92:
+	void *roc_tim;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#235: FILE: drivers/common/cnxk/roc_sso.c:705:
+roc_sso_rsrc_init(struct roc_sso *roc_sso, uint8_t nb_hws, uint16_t nb_hwgrp, uint16_t nb_tim_lfs)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#239: FILE: drivers/common/cnxk/roc_sso.c:709:
+	uint16_t sso_vec_cnt, free_tim_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#250: FILE: drivers/common/cnxk/roc_sso.c:756:
+	if (sso->dev.roc_tim) {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#251: FILE: drivers/common/cnxk/roc_sso.c:757:
+		nb_tim_lfs = ((struct roc_tim *)sso->dev.roc_tim)->nb_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#251: FILE: drivers/common/cnxk/roc_sso.c:757:
+		nb_tim_lfs = ((struct roc_tim *)sso->dev.roc_tim)->nb_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#251: FILE: drivers/common/cnxk/roc_sso.c:757:
+		nb_tim_lfs = ((struct roc_tim *)sso->dev.roc_tim)->nb_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#253: FILE: drivers/common/cnxk/roc_sso.c:759:
+		rc = tim_free_lf_count_get(&sso->dev, &free_tim_lfs);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#253: FILE: drivers/common/cnxk/roc_sso.c:759:
+		rc = tim_free_lf_count_get(&sso->dev, &free_tim_lfs);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#255: FILE: drivers/common/cnxk/roc_sso.c:761:
+			plt_err("Failed to get TIM resource count");

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#259: FILE: drivers/common/cnxk/roc_sso.c:765:
+		nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#259: FILE: drivers/common/cnxk/roc_sso.c:765:
+		nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#259: FILE: drivers/common/cnxk/roc_sso.c:765:
+		nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#259: FILE: drivers/common/cnxk/roc_sso.c:765:
+		nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#259: FILE: drivers/common/cnxk/roc_sso.c:765:
+		nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#262: FILE: drivers/common/cnxk/roc_sso.c:768:
+	/* 2 error interrupt per TIM LF */

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#263: FILE: drivers/common/cnxk/roc_sso.c:769:
+	sso_vec_cnt += 2 * nb_tim_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#298: FILE: drivers/common/cnxk/roc_sso.h:88:
+				uint16_t nb_tim_lfs);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#311: FILE: drivers/common/cnxk/roc_tim.c:304:
+tim_free_lf_count_get(struct dev *dev, uint16_t *nb_lfs)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#323: FILE: drivers/common/cnxk/roc_tim.c:316:
+	*nb_lfs = rsrc_cnt->tim;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#344: FILE: drivers/common/cnxk/roc_tim.c:336:
+	dev->roc_tim = roc_tim;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#344: FILE: drivers/common/cnxk/roc_tim.c:336:
+	dev->roc_tim = roc_tim;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#351: FILE: drivers/common/cnxk/roc_tim.c:341:
+	rc = tim_free_lf_count_get(dev, &nb_free_lfs);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#354: FILE: drivers/common/cnxk/roc_tim.c:343:
+		plt_tim_dbg("Failed to get TIM resource count");

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#354: FILE: drivers/common/cnxk/roc_tim.c:343:
+		plt_tim_dbg("Failed to get TIM resource count");

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#363: FILE: drivers/common/cnxk/roc_tim.c:349:
+		plt_tim_dbg("Requested LFs : %d Available LFs : %d", nb_lfs, nb_free_lfs);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#380: FILE: drivers/common/cnxk/roc_tim.c:384:
+	roc_tim->nb_lfs = nb_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#392: FILE: drivers/common/cnxk/roc_tim_priv.h:22:
+int tim_free_lf_count_get(struct dev *dev, uint16_t *nb_lfs);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#405: FILE: drivers/event/cnxk/cn10k_eventdev.c:255:
+	struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#405: FILE: drivers/event/cnxk/cn10k_eventdev.c:255:
+	struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#405: FILE: drivers/event/cnxk/cn10k_eventdev.c:255:
+	struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#407: FILE: drivers/event/cnxk/cn10k_eventdev.c:257:
+	uint16_t nb_tim_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#410: FILE: drivers/event/cnxk/cn10k_eventdev.c:259:
+	nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#410: FILE: drivers/event/cnxk/cn10k_eventdev.c:259:
+	nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#410: FILE: drivers/event/cnxk/cn10k_eventdev.c:259:
+	nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#411: FILE: drivers/event/cnxk/cn10k_eventdev.c:260:
+	return roc_sso_rsrc_init(&dev->sso, hws, hwgrp, nb_tim_lfs);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#423: FILE: drivers/event/cnxk/cn9k_eventdev.c:260:
+	struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#423: FILE: drivers/event/cnxk/cn9k_eventdev.c:260:
+	struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#423: FILE: drivers/event/cnxk/cn9k_eventdev.c:260:
+	struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#425: FILE: drivers/event/cnxk/cn9k_eventdev.c:262:
+	uint16_t nb_tim_lfs;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#431: FILE: drivers/event/cnxk/cn9k_eventdev.c:267:
+	nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#431: FILE: drivers/event/cnxk/cn9k_eventdev.c:267:
+	nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#431: FILE: drivers/event/cnxk/cn9k_eventdev.c:267:
+	nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#432: FILE: drivers/event/cnxk/cn9k_eventdev.c:268:
+	return roc_sso_rsrc_init(&dev->sso, hws, hwgrp, nb_tim_lfs);

total: 0 errors, 44 warnings, 290 lines checked

       reply	other threads:[~2022-12-02 14:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a0c3db977b5fe166438fe261874bbf43fbd4c76d.1669991772.git.sthotton@marvell.com>
2022-12-02 14:47 ` checkpatch [this message]
2022-12-02 16:38 ` |SUCCESS| " 0-day Robot
2022-12-02 17:20 ` qemudev
2022-12-02 17:24 ` qemudev

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=20221202144721.CDD02122CD9@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=sthotton@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).