From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Suanming Mou <suanmingm@nvidia.com>
Subject: |WARNING| pw117009 [PATCH v2 08/17] net/mlx5: add HW steering counter action
Date: Wed, 28 Sep 2022 05:35:57 +0200 (CEST) [thread overview]
Message-ID: <20220928033557.5369212231E@dpdk.org> (raw)
In-Reply-To: <20220928033130.9106-9-suanmingm@nvidia.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/117009
_coding style issues_
WARNING:REPEATED_WORD: Possible repeated word: 'the'
#1488: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:39:
+ * In the end, user fetch the the counter from minimal to the maximum.
CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#1639: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:190:
+ DRV_LOG(ERR, "counter number %"PRIu64" is out of 32bit range",
CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#1639: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:190:
+ DRV_LOG(ERR, "counter number %"PRIu64" is out of 32bit range",
WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1751: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:302:
+ uint32_t idx, alloced = 0;
WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1777: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:328:
+ alloced = cpool->dcs_mng.dcs[0].batch_sz;
WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1788: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:339:
+ cpool->dcs_mng.dcs[idx].iidx = alloced;
WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1789: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:340:
+ alloced += cpool->dcs_mng.dcs[idx].batch_sz;
CHECK:CAMELCASE: Avoid CamelCase: <PRIu32>
#1796: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:347:
+ "Cannot alloc device counter, allocated[%" PRIu32 "] request[%" PRIu32 "]",
WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1797: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:348:
+ alloced, cnt_num);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1834: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:385:
+ if (priv->sh->config.dv_esw_en && priv->master)
total: 0 errors, 7 warnings, 3 checks, 2239 lines checked
parent reply other threads:[~2022-09-28 3:35 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20220928033130.9106-9-suanmingm@nvidia.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=20220928033557.5369212231E@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=suanmingm@nvidia.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).