[dpdk-test-report] |WARNING| pw74951 [PATCH] event/octeontx: validate events requested against available

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jul 28 20:23:17 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#78: 
events configured across all the RX/TIM event adapters.

WARNING:LONG_LINE: line over 100 characters
#180: FILE: drivers/event/octeontx/ssovf_evdev.c:423:
+				"Max available events %"PRIu32" requested events in rxq pool %"PRIu32"",

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#287: FILE: drivers/event/octeontx/ssovf_evdev.h:153:
+	uint16_t tim_ring_cnt;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#288: FILE: drivers/event/octeontx/ssovf_evdev.h:154:
+	uint16_t *tim_ring_ids;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#325: FILE: drivers/event/octeontx/timvf_evdev.c:234:
+	uint8_t tim_ring_id;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#353: FILE: drivers/event/octeontx/timvf_evdev.c:274:
+	for (i = 0; i < edev->tim_ring_cnt; i++) {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#354: FILE: drivers/event/octeontx/timvf_evdev.c:275:
+		if (edev->tim_ring_ids[i] == UINT16_MAX)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#361: FILE: drivers/event/octeontx/timvf_evdev.c:282:
+		edev->tim_ring_cnt++;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#362: FILE: drivers/event/octeontx/timvf_evdev.c:283:
+		old_ptr = edev->tim_ring_ids;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#363: FILE: drivers/event/octeontx/timvf_evdev.c:284:
+		edev->tim_ring_ids =

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#364: FILE: drivers/event/octeontx/timvf_evdev.c:285:
+			rte_realloc(edev->tim_ring_ids,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#365: FILE: drivers/event/octeontx/timvf_evdev.c:286:
+				    sizeof(uint16_t) * edev->tim_ring_cnt, 0);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#366: FILE: drivers/event/octeontx/timvf_evdev.c:287:
+		if (edev->tim_ring_ids == NULL) {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#367: FILE: drivers/event/octeontx/timvf_evdev.c:288:
+			edev->tim_ring_ids = old_ptr;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#368: FILE: drivers/event/octeontx/timvf_evdev.c:289:
+			edev->tim_ring_cnt--;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#374: FILE: drivers/event/octeontx/timvf_evdev.c:295:
+		edev->tim_ring_ids[free_idx] = tim_ring_id;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#374: FILE: drivers/event/octeontx/timvf_evdev.c:295:
+		edev->tim_ring_ids[free_idx] = tim_ring_id;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#390: FILE: drivers/event/octeontx/timvf_evdev.c:372:
+	for (i = 0; i < edev->tim_ring_cnt; i++) {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#391: FILE: drivers/event/octeontx/timvf_evdev.c:373:
+		if (edev->tim_ring_ids[i] == timr->tim_ring_id) {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#391: FILE: drivers/event/octeontx/timvf_evdev.c:373:
+		if (edev->tim_ring_ids[i] == timr->tim_ring_id) {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#393: FILE: drivers/event/octeontx/timvf_evdev.c:375:
+			edev->tim_ring_ids[i] = UINT16_MAX;

total: 0 errors, 21 warnings, 297 lines checked


More information about the test-report mailing list