[dpdk-test-report] |WARNING| pw18903 [PATCH 2/5] vmxnet3: Avoid memory leak in vmxnet3_dev_rx_queue_setup.

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jan 5 11:43:26 CET 2017


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

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#74: FILE: drivers/net/vmxnet3/vmxnet3_rxtx.c:939:
+    if (dev->data->rx_queues[queue_idx] != NULL) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (4, 12)
#74: FILE: drivers/net/vmxnet3/vmxnet3_rxtx.c:939:
+    if (dev->data->rx_queues[queue_idx] != NULL) {
+            vmxnet3_dev_rx_queue_release(dev->data->rx_queues[queue_idx]);

ERROR:CODE_INDENT: code indent should use tabs where possible
#75: FILE: drivers/net/vmxnet3/vmxnet3_rxtx.c:940:
+            vmxnet3_dev_rx_queue_release(dev->data->rx_queues[queue_idx]);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#75: FILE: drivers/net/vmxnet3/vmxnet3_rxtx.c:940:
+            vmxnet3_dev_rx_queue_release(dev->data->rx_queues[queue_idx]);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#76: FILE: drivers/net/vmxnet3/vmxnet3_rxtx.c:941:
+            dev->data->rx_queues[queue_idx] = NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#76: FILE: drivers/net/vmxnet3/vmxnet3_rxtx.c:941:
+            dev->data->rx_queues[queue_idx] = NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#77: FILE: drivers/net/vmxnet3/vmxnet3_rxtx.c:942:
+    }$

total: 2 errors, 5 warnings, 0 checks, 42 lines checked


More information about the test-report mailing list