[dpdk-test-report] |WARNING| pw57988 [PATCH v4] eal: use memzone to share tsc hz with secondary processes

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Aug 26 22:45:35 CEST 2019


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#66: FILE: lib/librte_eal/common/eal_common_timer.c:88:
+		if (mz != NULL) {
+			freq = *(uint64_t *)mz->addr;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#82: FILE: lib/librte_eal/common/eal_common_timer.c:104:
+		if (mz != NULL) {
+			*(uint64_t *)mz->addr = freq;
+		}

total: 0 errors, 2 warnings, 45 lines checked


More information about the test-report mailing list