* [dpdk-test-report] |WARNING| pw26688 [PATCH 2/2] examples: adjust Rx and Tx descriptors to device limits
[not found] <591819ba-f8aa-8afd-9f69-f40befb93016@solarflare.com>
@ 2017-07-10 15:08 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-07-10 15:08 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/26688
_coding style issues_
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#61: FILE: examples/bond/main.c:180:
+ uint16_t nb_rxd = RTE_RX_DESC_DEFAULT;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#62: FILE: examples/bond/main.c:181:
+ uint16_t nb_txd = RTE_TX_DESC_DEFAULT;$
ERROR:CORRUPTED_PATCH: patch seems to be corrupt (line wrapped?)
#68: FILE: examples/bond/main.c:188:
(res=%d)
",
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#71: FILE: examples/bond/main.c:191:
+ retval = rte_eth_dev_adjust_nb_rx_tx_desc(portid, &nb_rxd, &nb_txd);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#72: FILE: examples/bond/main.c:192:
+ if (retval != 0)$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#73: FILE: examples/bond/main.c:193:
+ rte_exit(EXIT_FAILURE, "port %u: $
ERROR:CODE_INDENT: code indent should use tabs where possible
#73: FILE: examples/bond/main.c:193:
+ rte_exit(EXIT_FAILURE, "port %u: $
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#73: FILE: examples/bond/main.c:193:
+ rte_exit(EXIT_FAILURE, "port %u: $
ERROR:SPACING: need consistent spacing around '%' (ctx:WxV)
#73: FILE: examples/bond/main.c:193:
+ rte_exit(EXIT_FAILURE, "port %u:
^
ERROR:SPACING: spaces required around that ':' (ctx:VxW)
#73: FILE: examples/bond/main.c:193:
+ rte_exit(EXIT_FAILURE, "port %u:
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#75: FILE: examples/bond/main.c:194:
+ "failed (res=%d)
", portid, retval);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#75: FILE: examples/bond/main.c:194:
+ "failed (res=%d)
", portid, retval);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#79: FILE: examples/bond/main.c:197:
+ retval = rte_eth_rx_queue_setup(portid, 0, nb_rxd,$
ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)
total: 7 errors, 7 warnings, 22 lines checked
^ permalink raw reply [flat|nested] only message in thread