|WARNING| pw130308 [PATCH v1 2/7] tailq: skip init if already initialized

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Aug 15 03:40:25 CEST 2023


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#94: FILE: lib/eal/common/eal_common_tailqs.c:104:
+		if (t->head == NULL) {
+			t->head = rte_eal_tailq_create(t->name);
+		}

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#124: FILE: lib/eal/common/eal_common_tailqs.c:144:
+		RTE_LOG(INFO, EAL, "tailq already initialized 
");

total: 0 errors, 2 warnings, 51 lines checked


More information about the test-report mailing list