[dpdk-test-report] |WARNING| pw40831 [PATCH 05/21] net/softnic: add tap object

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jun 8 16:19:10 CEST 2018


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

_coding style issues_


WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#118: FILE: drivers/net/softnic/rte_eth_softnic_tap.c:1:
+/* SPDX-License-Identifier: BSD-3-Clause

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'name == NULL'
#200: FILE: drivers/net/softnic/rte_eth_softnic_tap.c:83:
+	if ((name == NULL) ||
+		tap_find(p, name))

CHECK:SPACING: No space is necessary after a cast
#213: FILE: drivers/net/softnic/rte_eth_softnic_tap.c:96:
+	status = ioctl(fd, TUNSETIFF, (void *) &ifr);

total: 0 errors, 1 warnings, 2 checks, 184 lines checked


More information about the test-report mailing list