* |WARNING| pw130976 [PATCH v11 3/8] net/ntnic: adds NT200A02 adapter support
[not found] <20230831122323.967504-3-mko-plv@napatech.com>
@ 2023-08-31 12:35 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-08-31 12:35 UTC (permalink / raw)
To: test-report; +Cc: Mykola Kostenok
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/130976
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#886: FILE: drivers/net/ntnic/adapter/nt4ga_link.c:7:
+#include <stdio.h>
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2289: 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'?
#2290: 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'?
#2292: 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'?
#2293: 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'?
#2295: 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'?
#2295: 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'?
#2413: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:316:
+ if (p_pci_master) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2414: 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'?
#2417: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:320:
+ if (p_pci_slave) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2418: 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'?
#2423: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:326:
+ if (p_master_instance)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2424: 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'?
#2425: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:328:
+ if (p_pci_master)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2426: 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'?
#2428: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:331:
+ if (p_slave_instance)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2429: 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'?
#2430: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:333:
+ if (p_pci_slave)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2431: 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'?
#2437: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:340:
+ if (p_master_instance)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2438: 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'?
#2439: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:342:
+ if (p_pci_master)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2440: 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'?
#2442: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:345:
+ if (p_slave_instance)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2443: 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'?
#2444: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:347:
+ if (p_pci_slave)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2445: 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'?
#2447: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:350:
+ /* Post process master */
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2448: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:351:
+ if (p_master_instance) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2449: 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'?
#2453: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:356:
+ if (p_pci_master) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2454: 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'?
#2458: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:361:
+ /* Post process slave */
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2459: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:362:
+ if (p_slave_instance) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2460: 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'?
#2464: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:367:
+ if (p_pci_slave) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2465: 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'?
#2542: FILE: drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:445:
+ if (p_master_instance) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2543: 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'?
#2545: 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'?
#5047: 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'?
#7745: 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'?
#7747: 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'?
#7825: 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'?
#8557: FILE: drivers/net/ntnic/sensors/sensor_types.h:130:
+ * Master/Slave
WARNING:TYPO_SPELLING: 'Slave' may be misspelled - perhaps 'Secondary'?
#8557: FILE: drivers/net/ntnic/sensors/sensor_types.h:130:
+ * Master/Slave
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#8561: 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'?
#8561: 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'?
#8562: 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'?
#8562: 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
^ permalink raw reply [flat|nested] only message in thread