[dpdk-test-report] |WARNING| pw44408 [13/21] net/atlantic: MAC address manipulations

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


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

_coding style issues_


WARNING:LONG_LINE: line over 90 characters
#74: FILE: drivers/net/atlantic/atl_ethdev.c:897:
+		l = (mac_addr[2] << 24) | (mac_addr[3] << 16) | (mac_addr[4] << 8) | mac_addr[5];

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#98: FILE: drivers/net/atlantic/atl_ethdev.c:921:
+	return atl_update_mac_addr(dev, index, (u8*)mac_addr, TRUE);

ERROR:SPACING: spaces required around that '=' (ctx:WxV)
#128: FILE: drivers/net/atlantic/atl_ethdev.c:951:
+	for (i =0; i < AQ_HW_MULTICAST_ADDRESS_MAX - HW_ATL_B0_MAC_MIN; i++) {
 	       ^

WARNING:LONG_LINE: line over 90 characters
#134: FILE: drivers/net/atlantic/atl_ethdev.c:957:
+			l = (mac_addr[2] << 24) | (mac_addr[3] << 16) | (mac_addr[4] << 8) | mac_addr[5];

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


More information about the test-report mailing list