From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Mykola Kostenok <mko-plv@napatech.com>
Subject: |WARNING| pw130515 [PATCH v3 3/8] net/ntnic: adds NT200A02 adapter support
Date: Fri, 18 Aug 2023 13:11:00 +0200 (CEST) [thread overview]
Message-ID: <20230818111100.F3FDF1206AB@dpdk.org> (raw)
In-Reply-To: <20230818105630.30290-3-mko-plv@napatech.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/130515
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#884: FILE: drivers/net/ntnic/adapter/nt4ga_link.c:7:
+#include <stdio.h>
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2287: 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'?
#2288: 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'?
#2290: 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'?
#2291: 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'?
#2293: 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'?
#2293: 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'?
#2411: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:316:
+ if (p_pci_master) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2412: 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'?
#2415: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:320:
+ if (p_pci_slave) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2416: 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'?
#2421: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:326:
+ if (p_master_instance)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2422: 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'?
#2423: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:328:
+ if (p_pci_master)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2424: 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'?
#2426: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:331:
+ if (p_slave_instance)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2427: 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'?
#2428: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:333:
+ if (p_pci_slave)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2429: 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'?
#2435: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:340:
+ if (p_master_instance)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2436: 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'?
#2437: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:342:
+ if (p_pci_master)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2438: 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'?
#2440: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:345:
+ if (p_slave_instance)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2441: 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'?
#2442: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:347:
+ if (p_pci_slave)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2443: 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'?
#2445: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:350:
+ /* Post process master */
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2446: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:351:
+ if (p_master_instance) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2447: 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'?
#2451: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:356:
+ if (p_pci_master) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2452: 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'?
#2456: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:361:
+ /* Post process slave */
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2457: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:362:
+ if (p_slave_instance) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2458: 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'?
#2462: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:367:
+ if (p_pci_slave) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2463: 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'?
#2540: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:445:
+ if (p_master_instance) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2541: 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'?
#2543: 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'?
#5045: 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'?
#7743: 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'?
#7745: 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'?
#7823: 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'?
#8555: FILE: drivers/net/ntnic/sensors/sensor_types.h:130:
+ * Master/Slave
WARNING:TYPO_SPELLING: 'Slave' may be misspelled - perhaps 'Secondary'?
#8555: FILE: drivers/net/ntnic/sensors/sensor_types.h:130:
+ * Master/Slave
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#8559: 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'?
#8559: 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'?
#8560: 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'?
#8560: 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-18 11:11 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20230818105630.30290-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=20230818111100.F3FDF1206AB@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).