[dpdk-test-report] |WARNING| pw60826 [PATCH v10 1/7] ethdev: add set ptype function

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 9 17:35:03 CEST 2019


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

_coding style issues_


WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(valid_ptype_masks)
#133: FILE: lib/librte_ethdev/rte_ethdev.c:2641:
+	for (i = 0; i < sizeof(valid_ptype_masks)/sizeof(valid_ptype_masks[0]);

total: 0 errors, 1 warnings, 200 lines checked


More information about the test-report mailing list