From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 6F6BBF612; Thu, 5 Jan 2017 11:43:26 +0100 (CET) In-Reply-To: <1483612983-3545-2-git-send-email-nic@opencloud.tech> References: <1483612983-3545-2-git-send-email-nic@opencloud.tech> To: test-report@dpdk.org Cc: nickcooper-zhangtonghao Message-Id: <20170105104326.6F6BBF612@dpdk.org> Date: Thu, 5 Jan 2017 11:43:26 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw18903 [PATCH 2/5] vmxnet3: Avoid memory leak in vmxnet3_dev_rx_queue_setup. X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2017 10:43:26 -0000 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