[dpdk-test-report] |WARNING| pw44404 [09/21] net/atlantic: link status and interrupt management

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 7 17:24:55 CEST 2018


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around dev->data->dev_link
#89: FILE: drivers/net/atlantic/atl_ethdev.c:165:
+	struct rte_eth_link *src = &(dev->data->dev_link);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around dev->data->dev_link
#114: FILE: drivers/net/atlantic/atl_ethdev.c:190:
+	struct rte_eth_link *dst = &(dev->data->dev_link);

WARNING:BRACES: braces {} are not necessary for single statement blocks
#134: FILE: drivers/net/atlantic/atl_ethdev.c:457:
+	if (err) {
+		goto error;
+	}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#308: FILE: drivers/net/atlantic/atl_ethdev.c:724:
+					(unsigned)link.link_speed,

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


More information about the test-report mailing list