[dpdk-test-report] |WARNING| pw57860 [PATCH 05/22] net/hns3: add the initialization of hns3 PMD driver
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Aug 23 15:51:37 CEST 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/57860
_coding style issues_
CHECK:BRACES: braces {} should be used on all arms of this statement
#460: FILE: drivers/net/hns3/hns3_ethdev.c:456:
+ if (!hns3_dev_dcb_supported(hw)) {
[...]
+ } else
[...]
CHECK:BRACES: Unbalanced braces around else statement
#463: FILE: drivers/net/hns3/hns3_ethdev.c:459:
+ } else
CHECK:BRACES: braces {} should be used on all arms of this statement
#632: FILE: drivers/net/hns3/hns3_ethdev.c:628:
+ if (hw->hw_tc_map & BIT(i)) {
[...]
+ } else
[...]
CHECK:BRACES: Unbalanced braces around else statement
#637: FILE: drivers/net/hns3/hns3_ethdev.c:633:
+ } else
total: 0 errors, 0 warnings, 4 checks, 1544 lines checked
More information about the test-report
mailing list