|WARNING| pw114492 [PATCH 1/2] vhost: check for nr_vec == 0 in desc_to_mbuf, mbuf_to_desc
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Aug 2 02:41:45 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/114492
_coding style issues_
ERROR:CODE_INDENT: code indent should use tabs where possible
#145: FILE: lib/vhost/virtio_net.c:2676:
+ if (unlikely(nr_vec == 0)) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#145: FILE: lib/vhost/virtio_net.c:2676:
+ if (unlikely(nr_vec == 0)) {$
WARNING:BRACES: braces {} are not necessary for single statement blocks
#145: FILE: lib/vhost/virtio_net.c:2676:
+ if (unlikely(nr_vec == 0)) {
+ return -1;
+ }
ERROR:CODE_INDENT: code indent should use tabs where possible
#147: FILE: lib/vhost/virtio_net.c:2678:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#147: FILE: lib/vhost/virtio_net.c:2678:
+ }$
total: 2 errors, 3 warnings, 30 lines checked
More information about the test-report
mailing list