automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw44329 [v2] net/pcap: physical interface MAC address support
       [not found] <20180906160850.29231-1-juhamatti.kuusisaari@coriant.com>
@ 2018-09-06 16:10 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-09-06 16:10 UTC (permalink / raw)
  To: test-report; +Cc: Juhamatti Kuusisaari

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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <__FreeBSD__>
#51: FILE: drivers/net/pcap/rte_eth_pcap.c:14:
+#ifdef __FreeBSD__

ERROR:OPEN_BRACE: that open brace { should be on the previous line
#94: FILE: drivers/net/pcap/rte_eth_pcap.c:926:
+	if (if_fd != -1)
+	{

ERROR:SPACING: space required before the open parenthesis '('
#101: FILE: drivers/net/pcap/rte_eth_pcap.c:933:
+			if(mac_addrs) {

WARNING:BRACES: braces {} are not necessary for single statement blocks
#121: FILE: drivers/net/pcap/rte_eth_pcap.c:953:
+	if (sysctl(mib, 6, NULL, &len, NULL, 0) < 0) {
+		goto cleanup;
+	}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#131: FILE: drivers/net/pcap/rte_eth_pcap.c:963:
+			if (sysctl(mib, 6, buf, &len, NULL, 0) < 0) {
+				goto cleanup;
+			}

total: 2 errors, 2 warnings, 1 checks, 212 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-06 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180906160850.29231-1-juhamatti.kuusisaari@coriant.com>
2018-09-06 16:10 ` [dpdk-test-report] |WARNING| pw44329 [v2] net/pcap: physical interface MAC address support checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).