|WARNING| pw138644 [PATCH 2/2] eal: add rte ffs32 and rte ffs64 inline functions

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Mar 20 22:26:03 CET 2024


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

_coding style issues_


WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#76: FILE: lib/eal/include/rte_bitops.h:413:
+	if (0 == _BitScanForward(&rv, v))

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#87: FILE: lib/eal/include/rte_bitops.h:424:
+	if (0 == _BitScanForward64(&rv, v))

total: 0 errors, 2 warnings, 46 lines checked


More information about the test-report mailing list