automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Mykola Kostenok <mko-plv@napatech.com>
Subject: |WARNING| pw130539 [PATCH v4 3/8] net/ntnic: adds NT200A02 adapter support
Date: Fri, 18 Aug 2023 21:03:32 +0200 (CEST)	[thread overview]
Message-ID: <20230818190332.54C0A1206AB@dpdk.org> (raw)
In-Reply-To: <20230818184127.422574-3-mko-plv@napatech.com>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#885: FILE: drivers/net/ntnic/adapter/nt4ga_link.c:7:
+#include <stdio.h>

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2288: 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'?
#2289: 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'?
#2291: 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'?
#2292: 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'?
#2294: 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'?
#2294: 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'?
#2412: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:316:
+			if (p_pci_master) {

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2413: 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'?
#2416: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:320:
+			if (p_pci_slave) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2417: 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'?
#2422: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:326:
+			if (p_master_instance)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2423: 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'?
#2424: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:328:
+			if (p_pci_master)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2425: 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'?
#2427: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:331:
+			if (p_slave_instance)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2428: 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'?
#2429: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:333:
+			if (p_pci_slave)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2430: 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'?
#2436: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:340:
+			if (p_master_instance)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2437: 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'?
#2438: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:342:
+			if (p_pci_master)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2439: 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'?
#2441: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:345:
+			if (p_slave_instance)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2442: 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'?
#2443: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:347:
+			if (p_pci_slave)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2444: 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'?
#2446: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:350:
+			/* Post process master */

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2447: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:351:
+			if (p_master_instance) {

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2448: 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'?
#2452: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:356:
+			if (p_pci_master) {

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2453: 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'?
#2457: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:361:
+			/* Post process slave */

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2458: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:362:
+			if (p_slave_instance) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2459: 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'?
#2463: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:367:
+			if (p_pci_slave) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2464: 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'?
#2541: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:445:
+				if (p_master_instance) {

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2542: 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'?
#2544: 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'?
#5046: 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'?
#7744: 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'?
#7746: 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'?
#7824: 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'?
#8556: FILE: drivers/net/ntnic/sensors/sensor_types.h:130:
+ * Master/Slave

WARNING:TYPO_SPELLING: 'Slave' may be misspelled - perhaps 'Secondary'?
#8556: FILE: drivers/net/ntnic/sensors/sensor_types.h:130:
+ * Master/Slave

WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#8560: 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'?
#8560: 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'?
#8561: 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'?
#8561: 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

           reply	other threads:[~2023-08-18 19:03 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230818184127.422574-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=20230818190332.54C0A1206AB@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).