[dpdk-test-report] |WARNING| pw45674 [v3, 10/22] net/atlantic: TX side structures and implementation
checkpatch at dpdk.org
checkpatch at dpdk.org
Sat Sep 29 12:33:42 CEST 2018
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/45674
_coding style issues_
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_pkt->nb_segs == 0'
#733: FILE: drivers/net/atlantic/atl_rxtx.c:1148:
+ if ((tx_pkt->nb_segs == 0) ||
+ ((tx_pkt->nb_segs > 1) && (tx_pkt->next == NULL)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_pkt->nb_segs > 1'
#733: FILE: drivers/net/atlantic/atl_rxtx.c:1148:
+ if ((tx_pkt->nb_segs == 0) ||
+ ((tx_pkt->nb_segs > 1) && (tx_pkt->next == NULL)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_pkt->next == NULL'
#733: FILE: drivers/net/atlantic/atl_rxtx.c:1148:
+ if ((tx_pkt->nb_segs == 0) ||
+ ((tx_pkt->nb_segs > 1) && (tx_pkt->next == NULL)))
total: 0 errors, 0 warnings, 3 checks, 691 lines checked
More information about the test-report
mailing list