[dpdk-test-report] |WARNING| pw47476 mlx5: Support for rte_eth_rx_queue_count

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Oct 26 15:44:12 CEST 2018


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

_coding style issues_


ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#64: FILE: drivers/net/mlx5/mlx5_rxtx.c:428:
+static uint32_t
+rx_queue_count(struct mlx5_rxq_data* rxq) {

ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#65: FILE: drivers/net/mlx5/mlx5_rxtx.c:429:
+rx_queue_count(struct mlx5_rxq_data* rxq) {

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#66: FILE: drivers/net/mlx5/mlx5_rxtx.c:430:
+rx_queue_count(struct mlx5_rxq_data* rxq) {
+

CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#75: FILE: drivers/net/mlx5/mlx5_rxtx.c:462:
+
+}

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#93: FILE: drivers/net/mlx5/mlx5_rxtx.c:480:
+    uint32_t used = rx_queue_count(rxq);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#121: FILE: drivers/net/mlx5/mlx5_rxtx.c:508:
+    return rx_queue_count(rxq);$

total: 2 errors, 2 warnings, 2 checks, 98 lines checked


More information about the test-report mailing list