From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Mykola Kostenok <mko-plv@napatech.com>
Subject: |WARNING| pw130415 [PATCH 3/8] net/ntnic: adds NT200A02 adapter support
Date: Wed, 16 Aug 2023 16:17:28 +0200 (CEST) [thread overview]
Message-ID: <20230816141728.E08441206AB@dpdk.org> (raw)
In-Reply-To: <20230816132552.2483752-3-mko-plv@napatech.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/130415
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#880: FILE: drivers/net/ntnic/adapter/nt4ga_link.c:7:
+#include <stdio.h>
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2283: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:192:
+ nthw_hif *p_master_instance = p_adapter_info->fpga_info.mp_nthw_hif;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2284: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:193:
+ nthw_hif *p_slave_instance = NULL;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2286: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:195:
+ nthw_pcie3 *p_pci_master = p_adapter_info->fpga_info.mp_nthw_pcie3;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2287: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:196:
+ nthw_pcie3 *p_pci_slave = NULL;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2289: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:198:
+ assert(p_master_instance || p_pci_master);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2289: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:198:
+ assert(p_master_instance || p_pci_master);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2407: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:316:
+ if (p_pci_master) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2408: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:317:
+ nthw_pcie3_end_point_counters_sample_pre(p_pci_master,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2411: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:320:
+ if (p_pci_slave) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2412: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:321:
+ nthw_pcie3_end_point_counters_sample_pre(p_pci_slave,
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2417: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:326:
+ if (p_master_instance)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2418: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:327:
+ nthw_hif_stat_req_enable(p_master_instance);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2419: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:328:
+ if (p_pci_master)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2420: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:329:
+ nthw_pcie3_stat_req_enable(p_pci_master);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2422: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:331:
+ if (p_slave_instance)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2423: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:332:
+ nthw_hif_stat_req_enable(p_slave_instance);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2424: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:333:
+ if (p_pci_slave)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2425: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:334:
+ nthw_pcie3_stat_req_enable(p_pci_slave);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2431: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:340:
+ if (p_master_instance)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2432: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:341:
+ nthw_hif_stat_req_disable(p_master_instance);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2433: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:342:
+ if (p_pci_master)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2434: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:343:
+ nthw_pcie3_stat_req_disable(p_pci_master);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2436: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:345:
+ if (p_slave_instance)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2437: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:346:
+ nthw_hif_stat_req_disable(p_slave_instance);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2438: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:347:
+ if (p_pci_slave)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2439: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:348:
+ nthw_pcie3_stat_req_disable(p_pci_slave);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2441: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:350:
+ /* Post process master */
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2442: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:351:
+ if (p_master_instance) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2443: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:352:
+ nthw_hif_end_point_counters_sample(p_master_instance,
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2447: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:356:
+ if (p_pci_master) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2448: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:357:
+ nthw_pcie3_end_point_counters_sample_post(p_pci_master,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2452: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:361:
+ /* Post process slave */
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2453: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:362:
+ if (p_slave_instance) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2454: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:363:
+ nthw_hif_end_point_counters_sample(p_slave_instance,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2458: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:367:
+ if (p_pci_slave) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2459: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:368:
+ nthw_pcie3_end_point_counters_sample_post(p_pci_slave,
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2536: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:445:
+ if (p_master_instance) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2537: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:446:
+ nthw_hif_stat_req_enable(p_master_instance);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2539: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:448:
+ nthw_hif_stat_req_disable(p_master_instance);
WARNING:TYPO_SPELLING: 'Whitelist' may be misspelled - perhaps 'Allowlist'?
#5041: FILE: drivers/net/ntnic/nim/i2c_nim.c:1315:
+ * Whitelist of 25G transceivers known to also support 10G.
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#7739: FILE: drivers/net/ntnic/nthw/core/nthw_rmc.c:131:
+void nthw_rmc_unblock(nthw_rmc_t *p, bool b_is_slave)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#7741: FILE: drivers/net/ntnic/nthw/core/nthw_rmc.c:133:
+ uint32_t n_block_mask = ~0U << (b_is_slave ? p->mn_nims : p->mn_ports);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#7819: FILE: drivers/net/ntnic/nthw/core/nthw_rmc.h:49:
+void nthw_rmc_unblock(nthw_rmc_t *p, bool b_is_slave);
WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#8551: FILE: drivers/net/ntnic/sensors/sensor_types.h:130:
+ * Master/Slave
WARNING:TYPO_SPELLING: 'Slave' may be misspelled - perhaps 'Secondary'?
#8551: FILE: drivers/net/ntnic/sensors/sensor_types.h:130:
+ * Master/Slave
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#8555: FILE: drivers/net/ntnic/sensors/sensor_types.h:134:
+ NT_BONDING_MASTER, /* Adapter is master in the bonding */
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#8555: FILE: drivers/net/ntnic/sensors/sensor_types.h:134:
+ NT_BONDING_MASTER, /* Adapter is master in the bonding */
WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#8556: FILE: drivers/net/ntnic/sensors/sensor_types.h:135:
+ NT_BONDING_SLAVE, /* Adapter is slave in the bonding */
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#8556: FILE: drivers/net/ntnic/sensors/sensor_types.h:135:
+ NT_BONDING_SLAVE, /* Adapter is slave in the bonding */
total: 0 errors, 50 warnings, 0 checks, 8680 lines checked
parent reply other threads:[~2023-08-16 14:17 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20230816132552.2483752-3-mko-plv@napatech.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=20230816141728.E08441206AB@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=mko-plv@napatech.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).