[dpdk-test-report] |WARNING| pw53577 [PATCH 04/15] net: add rte prefix to ether functions

checkpatch at dpdk.org checkpatch at dpdk.org
Tue May 21 18:15:17 CEST 2019


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#25: 
- rename is_valid_assigned_ether_addr() as rte_is_valid_assigned_ether_addr().

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#963: FILE: drivers/net/bonding/rte_eth_bond_alb.c:163:
+				if (!rte_is_broadcast_ether_addr(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#965: FILE: drivers/net/bonding/rte_eth_bond_alb.c:165:
+					rte_ether_addr_copy(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1346: FILE: drivers/net/failsafe/failsafe.c:256:
+				rte_ether_addr_copy(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1586: FILE: drivers/net/i40e/i40e_ethdev_vf.c:1277:
+	if (rte_is_valid_assigned_ether_addr(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1826: FILE: drivers/net/iavf/iavf_ethdev.c:1320:
+	if (!rte_is_valid_assigned_ether_addr(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1873: FILE: drivers/net/ice/ice_ethdev.c:489:
+	rte_ether_addr_copy(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1884: FILE: drivers/net/ice/ice_ethdev.c:501:
+	rte_ether_addr_copy(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2032: FILE: drivers/net/ixgbe/ixgbe_pf.c:466:
+	if (rte_is_valid_assigned_ether_addr(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2046: FILE: drivers/net/ixgbe/rte_pmd_ixgbe.c:38:
+	if (rte_is_valid_assigned_ether_addr(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2307: FILE: drivers/net/nfp/nfp_net.c:2965:
+	if (!rte_is_valid_assigned_ether_addr(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2436: FILE: drivers/net/qede/qede_ethdev.c:2571:
+				rte_ether_addr_copy(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2441: FILE: drivers/net/qede/qede_ethdev.c:2574:
+				rte_ether_addr_copy(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2584: FILE: drivers/net/tap/rte_eth_tap.c:1175:
+	if (rte_is_same_ether_addr(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2593: FILE: drivers/net/tap/rte_eth_tap.c:1183:
+	if (!rte_is_same_ether_addr(

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#2702: FILE: drivers/net/virtio/virtio_ethdev.c:1167:
 		struct virtio_net_ctrl_mac *tbl
+			= rte_is_multicast_ether_addr(addr) ? mc : uc;

WARNING:LONG_LINE: line over 90 characters
#2774: FILE: examples/bond/main.c:393:
+						rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr);

WARNING:LONG_LINE: line over 90 characters
#2777: FILE: examples/bond/main.c:395:
+						rte_ether_addr_copy(&arp_hdr->arp_data.arp_sha,

WARNING:LONG_LINE: line over 90 characters
#2778: FILE: examples/bond/main.c:396:
+								&arp_hdr->arp_data.arp_tha);

WARNING:LONG_LINE: line over 90 characters
#2782: FILE: examples/bond/main.c:399:
+						rte_ether_addr_copy(&d_addr, &arp_hdr->arp_data.arp_sha);

WARNING:LONG_LINE: line over 90 characters
#2791: FILE: examples/bond/main.c:414:
+					rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr);

total: 0 errors, 6 warnings, 2879 lines checked


More information about the test-report mailing list