|WARNING| pw145643 [PATCH v3 37/50] net/ntnic: add basic queue operations

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Oct 10 16:51:54 CEST 2024


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

_coding style issues_


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

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

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#292: 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'?
#293: FILE: drivers/net/ntnic/ntnic_ethdev.c:205:
+		num_queues_alloced, num, MAX_TOTAL_QUEUES);

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#295: 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'?
#298: 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