[dpdk-test-report] |WARNING| pw59516 [PATCH v2 06/22] net/hns3: add the initialization of hns3 PMD driver

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 20 15:30:09 CEST 2019


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

_coding style issues_


CHECK:BRACES: braces {} should be used on all arms of this statement
#459: FILE: drivers/net/hns3/hns3_ethdev.c:447:
+	if (!hns3_dev_dcb_supported(hw)) {
[...]
+	} else
[...]

CHECK:BRACES: Unbalanced braces around else statement
#462: FILE: drivers/net/hns3/hns3_ethdev.c:450:
+	} else

CHECK:BRACES: braces {} should be used on all arms of this statement
#631: FILE: drivers/net/hns3/hns3_ethdev.c:619:
+		if (hw->hw_tc_map & BIT(i)) {
[...]
+		} else
[...]

CHECK:BRACES: Unbalanced braces around else statement
#636: FILE: drivers/net/hns3/hns3_ethdev.c:624:
+		} else

CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#1561: FILE: drivers/net/hns3/hns3_ethdev.c:1609:
+		PMD_INIT_LOG(ERR, "Failed to allocate %" PRIx64 " bytes needed "

total: 0 errors, 0 warnings, 5 checks, 1554 lines checked


More information about the test-report mailing list