* [dpdk-test-report] |WARNING| pw31477 [PATCH] net/bonding: fix bond 8023ad mode enable using wrong index
[not found] <40280F65B1B0B44E8089ED31C01616EBA357ADA1@dggeml509-mbx.china.huawei.com>
@ 2017-11-20 7:16 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-11-20 7:16 UTC (permalink / raw)
To: test-report; +Cc: jerry.lilijun
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
^ permalink raw reply [flat|nested] only message in thread