[dpdk-test-report] |WARNING| pw70721 [PATCH v1] net/axgbe: enable IEEE 1588 PTP support for axgbe

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 1 14:59:34 CEST 2020


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/70721

_coding style issues_


CHECK:LOGICAL_CONTINUATIONS: Logical continuations should be on the previous line
#488: FILE: drivers/net/axgbe/axgbe_ethdev.c:1534:
+		if (AXGMAC_GET_BITS_LE(desc->write.desc3, RX_CONTEXT_DESC3, TSA)
+				&& !AXGMAC_GET_BITS_LE(desc->write.desc3,

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_conf->offloads != 0'
#614: FILE: drivers/net/axgbe/axgbe_rxtx.c:526:
+	if ((tx_conf->offloads != 0) || dev_data->dev_conf.txmode.offloads)

total: 0 errors, 0 warnings, 2 checks, 473 lines checked


More information about the test-report mailing list