[dpdk-test-report] |WARNING| pw31477 [PATCH] net/bonding: fix bond 8023ad mode enable using wrong index

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 20 08:16:10 CET 2017


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#17: 
In the function bond_mode_8023ad_enable(), the var i is to used to as the second parameter to pass the slave dev's dpdk port id to the function bond_mode_8023ad_activate_slave(). 

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15)
#31: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1161:
        for (i = 0; i < internals->active_slave_count; i++)
+               bond_mode_8023ad_activate_slave(bond_dev, internals->active_slaves[i]);

ERROR:CODE_INDENT: code indent should use tabs where possible
#33: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1162:
+               bond_mode_8023ad_activate_slave(bond_dev, internals->active_slaves[i]);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#33: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1162:
+               bond_mode_8023ad_activate_slave(bond_dev, internals->active_slaves[i]);$

ERROR:CORRUPTED_PATCH: patch seems to be corrupt (line wrapped?)
#36: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1164:
}

total: 2 errors, 3 warnings, 0 checks, 8 lines checked


More information about the test-report mailing list