[dpdk-test-report] |WARNING| pw27451 [PATCH RFC 05/10] examples/vm_power_mgr: add policy to channels

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 4 15:55:25 CEST 2017


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#120: FILE: examples/vm_power_manager/channel_monitor.c:114:
+#define ITERATIVE_BITMASK_CHECK_64(mask_u64b, i) \
+		for (i = 0; mask_u64b; mask_u64b &= ~(1ULL << i++)) \
+			if ((mask_u64b >> i) & 1) \
 

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 0)
#122: FILE: examples/vm_power_manager/channel_monitor.c:116:
+			if ((mask_u64b >> i) & 1) \
[...]
+static void

total: 1 errors, 1 warnings, 442 lines checked


More information about the test-report mailing list