[dpdk-test-report] |WARNING| pw31842 [PATCH 1/2] net/softnic: enable flow classification function

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 30 20:56:38 CET 2017


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'src == NULL'
#442: FILE: drivers/net/softnic/rte_eth_softnic.c:844:
+	if ((src == NULL) ||
+		(dst == NULL) ||
+		(size == NULL) ||
+		(*size == 0))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'dst == NULL'
#442: FILE: drivers/net/softnic/rte_eth_softnic.c:844:
+	if ((src == NULL) ||
+		(dst == NULL) ||
+		(size == NULL) ||
+		(*size == 0))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'size == NULL'
#442: FILE: drivers/net/softnic/rte_eth_softnic.c:844:
+	if ((src == NULL) ||
+		(dst == NULL) ||
+		(size == NULL) ||
+		(*size == 0))

total: 0 errors, 0 warnings, 1153 lines checked


More information about the test-report mailing list