[dpdk-test-report] |WARNING| pw31612 [PATCH 1/2] net/virtio: make control queue thread-safe
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Nov 27 12:24:29 CET 2017
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/31612
_coding style issues_
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pkt_num < 1'
#45: FILE: drivers/net/virtio/virtio_ethdev.c:189:
+ if ((vq->vq_free_cnt < ((uint32_t)pkt_num + 2)) || (pkt_num < 1)) {
WARNING:LONG_LINE_COMMENT: line over 90 characters
#80: FILE: drivers/net/virtio/virtio_rxtx.h:87:
+ rte_spinlock_t sl; /**< spinlock for control queue. */
total: 0 errors, 1 warnings, 1 checks, 40 lines checked
More information about the test-report
mailing list