* [dpdk-test-report] |WARNING| pw59516 [PATCH v2 06/22] net/hns3: add the initialization of hns3 PMD driver
[not found] <1568985955-13548-7-git-send-email-xavier.huwei@huawei.com>
@ 2019-09-20 13:30 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-09-20 13:30 UTC (permalink / raw)
To: test-report; +Cc: Wei Hu (Xavier)
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-09-20 13:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1568985955-13548-7-git-send-email-xavier.huwei@huawei.com>
2019-09-20 13:30 ` [dpdk-test-report] |WARNING| pw59516 [PATCH v2 06/22] net/hns3: add the initialization of hns3 PMD driver checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).