[dpdk-test-report] |WARNING| pw32669 [PATCH 11/14] net/sfc: support VXLAN and NVGRE packet types classification

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Dec 24 11:48:42 CET 2017


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'encp->enc_tunnel_encapsulations_supported != 0'
#266: FILE: drivers/net/sfc/sfc_ethdev.c:134:
+	if ((encp->enc_tunnel_encapsulations_supported != 0) &&
+	    (sa->dp_rx->features & SFC_DP_RX_FEAT_TUNNELS))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'encp->enc_tunnel_encapsulations_supported != 0'
#302: FILE: drivers/net/sfc/sfc_rx.c:950:
+	if ((encp->enc_tunnel_encapsulations_supported != 0) &&
+	    (sa->dp_rx->features & SFC_DP_RX_FEAT_TUNNELS))

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


More information about the test-report mailing list