From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Pengzhen Liu <liupengzhen3@huawei.com>
Subject: [dpdk-test-report] |WARNING| pw30933 [PATCH] net/virtio: fix memory leak
Date: Thu, 26 Oct 2017 08:57:48 +0200 (CEST) [thread overview]
Message-ID: <20171026065748.3E15E1BA58@dpdk.org> (raw)
In-Reply-To: <1509003174-15343-1-git-send-email-liupengzhen3@huawei.com>
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
parent reply other threads:[~2017-10-26 6:57 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1509003174-15343-1-git-send-email-liupengzhen3@huawei.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171026065748.3E15E1BA58@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=liupengzhen3@huawei.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).