[dpdk-test-report] |WARNING| pw30933 [PATCH] net/virtio: fix memory leak
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Oct 26 08:57:48 CEST 2017
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
More information about the test-report
mailing list