* [dpdk-test-report] |WARNING| pw32975 [PATCH v2 10/16] net/axgbe: add transmit and receive data path apis
[not found] <1515145938-97474-10-git-send-email-Ravi1.kumar@amd.com>
@ 2018-01-05 9:54 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-01-05 9:54 UTC (permalink / raw)
To: test-report; +Cc: Ravi Kumar
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/32975
_coding style issues_
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'error_status != AXGBE_L3_CSUM_ERR'
#240: FILE: drivers/net/axgbe/axgbe_rxtx.c:371:
+ if ((error_status != AXGBE_L3_CSUM_ERR) &&
+ (error_status != AXGBE_L4_CSUM_ERR)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'error_status != AXGBE_L4_CSUM_ERR'
#240: FILE: drivers/net/axgbe/axgbe_rxtx.c:371:
+ if ((error_status != AXGBE_L3_CSUM_ERR) &&
+ (error_status != AXGBE_L4_CSUM_ERR)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_status == DMA_TPS_STOPPED'
#382: FILE: drivers/net/axgbe/axgbe_rxtx.c:597:
+ if ((tx_status == DMA_TPS_STOPPED) ||
+ (tx_status == DMA_TPS_SUSPENDED))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_status == DMA_TPS_SUSPENDED'
#382: FILE: drivers/net/axgbe/axgbe_rxtx.c:597:
+ if ((tx_status == DMA_TPS_STOPPED) ||
+ (tx_status == DMA_TPS_SUSPENDED))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mask == PKT_TX_TCP_CKSUM'
#488: FILE: drivers/net/axgbe/axgbe_rxtx.c:703:
+ if ((mask == PKT_TX_TCP_CKSUM) || (mask == PKT_TX_UDP_CKSUM))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mask == PKT_TX_UDP_CKSUM'
#488: FILE: drivers/net/axgbe/axgbe_rxtx.c:703:
+ if ((mask == PKT_TX_TCP_CKSUM) || (mask == PKT_TX_UDP_CKSUM))
total: 0 errors, 0 warnings, 6 checks, 756 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-05 9:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1515145938-97474-10-git-send-email-Ravi1.kumar@amd.com>
2018-01-05 9:54 ` [dpdk-test-report] |WARNING| pw32975 [PATCH v2 10/16] net/axgbe: add transmit and receive data path apis 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).