|WARNING| pw146974 [PATCH v4 5/5] net/ice: provide parameter to limit scheduler layers

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 23 18:29:45 CEST 2024


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

_coding style issues_


CHECK:BRACES: braces {} should be used on all arms of this statement
#167: FILE: drivers/net/ice/ice_ethdev.c:1897:
+		if (req_layers > avail_layers) {
[...]
+		} else
[...]

CHECK:BRACES: Unbalanced braces around else statement
#171: FILE: drivers/net/ice/ice_ethdev.c:1901:
+		} else

WARNING:UNNECESSARY_INT: Prefer 'long' over 'long int' as the int is unnecessary
#186: FILE: drivers/net/ice/ice_ethdev.c:2097:
+	long int tmp;

total: 0 errors, 1 warnings, 2 checks, 238 lines checked


More information about the test-report mailing list