[dpdk-test-report] |WARNING| pw40352 [PATCH v5] net/tap: fix proto field for tun

checkpatch at dpdk.org checkpatch at dpdk.org
Wed May 23 00:10:31 CEST 2018


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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <ETHER_TYPE_IPv4>
#87: FILE: drivers/net/tap/rte_eth_tap.c:488:
+			pi.proto = (j == 0x40) ? rte_cpu_to_be_16(ETHER_TYPE_IPv4) :

CHECK:CAMELCASE: Avoid CamelCase: <ETHER_TYPE_IPv6>
#88: FILE: drivers/net/tap/rte_eth_tap.c:489:
+				(j == 0x60) ? rte_cpu_to_be_16(ETHER_TYPE_IPv6) : 0x00;

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


More information about the test-report mailing list