|WARNING| pw145072 [PATCH v1 01/14] net/ntnic: add basic queue operations

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Oct 4 17:19:40 CEST 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#281: FILE: drivers/net/ntnic/ntnic_ethdev.c:198:
+static int num_queues_alloced;

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#286: FILE: drivers/net/ntnic/ntnic_ethdev.c:203:
+	int next_free = num_queues_alloced;

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#287: FILE: drivers/net/ntnic/ntnic_ethdev.c:204:
+	NT_LOG_DBGX(DBG, NTNIC, "num_queues_alloced=%u, New queues=%u, Max queues=%u
",

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#288: FILE: drivers/net/ntnic/ntnic_ethdev.c:205:
+		num_queues_alloced, num, MAX_TOTAL_QUEUES);

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#290: FILE: drivers/net/ntnic/ntnic_ethdev.c:207:
+	if (num_queues_alloced + num > MAX_TOTAL_QUEUES)

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#293: FILE: drivers/net/ntnic/ntnic_ethdev.c:210:
+	num_queues_alloced += num;

total: 0 errors, 6 warnings, 0 checks, 365 lines checked


More information about the test-report mailing list