|WARNING| pw109081 [PATCH 3/3] test/threads: add unit test for thread API

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 1 15:31:03 CEST 2022


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

_coding style issues_


WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#128: FILE: app/test/test_threads.c:39:
+	RTE_TEST_ASSERT(0 == memcmp(&cpuset0, &cpuset1, sizeof(rte_cpuset_t)),

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#135: FILE: app/test/test_threads.c:46:
+	RTE_TEST_ASSERT(0 == memcmp(&cpuset0, &cpuset1, sizeof(rte_cpuset_t)),

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#150: FILE: app/test/test_threads.c:61:
+	RTE_TEST_ASSERT(0 == memcmp(&cpuset0, &cpuset1, sizeof(rte_cpuset_t)),

total: 0 errors, 3 warnings, 97 lines checked


More information about the test-report mailing list