From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 3E15E1BA58; Thu, 26 Oct 2017 08:57:48 +0200 (CEST) In-Reply-To: <1509003174-15343-1-git-send-email-liupengzhen3@huawei.com> References: <1509003174-15343-1-git-send-email-liupengzhen3@huawei.com> To: test-report@dpdk.org Cc: Pengzhen Liu Message-Id: <20171026065748.3E15E1BA58@dpdk.org> Date: Thu, 26 Oct 2017 08:57:48 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw30933 [PATCH] net/virtio: fix memory leak 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, 26 Oct 2017 06:57:48 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/30933 _coding style issues_ WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #17: in "eth_dev->data->mac_addrs" variable and it is not freed whe function return, WARNING:TYPO_SPELLING: 'whe' may be misspelled - perhaps 'when'? #17: in "eth_dev->data->mac_addrs" variable and it is not freed whe function return, WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 12) #34: FILE: drivers/net/virtio/virtio_ethdev.c:1588: if (ret) + goto out; ERROR:CODE_INDENT: code indent should use tabs where possible #36: FILE: drivers/net/virtio/virtio_ethdev.c:1589: + goto out;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #36: FILE: drivers/net/virtio/virtio_ethdev.c:1589: + goto out;$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8) #41: FILE: drivers/net/virtio/virtio_ethdev.c:1594: if (ret < 0) + goto out; ERROR:CODE_INDENT: code indent should use tabs where possible #43: FILE: drivers/net/virtio/virtio_ethdev.c:1595: + goto out;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #43: FILE: drivers/net/virtio/virtio_ethdev.c:1595: + goto out;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #53: FILE: drivers/net/virtio/virtio_ethdev.c:1605: + rte_free(eth_dev->data->mac_addrs);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #54: FILE: drivers/net/virtio/virtio_ethdev.c:1606: + return ret;$ total: 2 errors, 8 warnings, 0 checks, 25 lines checked