[dpdk-test-report] |WARNING| pw59892 [PATCH v3 06/22] net/hns3: add the initialization of hns3 PMD driver
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Sep 27 14:06:53 CEST 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/59892
_coding style issues_
CHECK:BRACES: braces {} should be used on all arms of this statement
#460: FILE: drivers/net/hns3/hns3_ethdev.c:447:
+ if (!hns3_dev_dcb_supported(hw)) {
[...]
+ } else
[...]
CHECK:BRACES: Unbalanced braces around else statement
#463: FILE: drivers/net/hns3/hns3_ethdev.c:450:
+ } else
CHECK:BRACES: braces {} should be used on all arms of this statement
#632: FILE: drivers/net/hns3/hns3_ethdev.c:619:
+ if (hw->hw_tc_map & BIT(i)) {
[...]
+ } else
[...]
CHECK:BRACES: Unbalanced braces around else statement
#637: FILE: drivers/net/hns3/hns3_ethdev.c:624:
+ } else
CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#1562: 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