* |WARNING| pw114492 [PATCH 1/2] vhost: check for nr_vec == 0 in desc_to_mbuf, mbuf_to_desc
[not found] <20220802003948.22693-2-cfontana@suse.de>
@ 2022-08-02 0:41 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-08-02 0:41 UTC (permalink / raw)
To: test-report; +Cc: Claudio Fontana
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-02 0:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220802003948.22693-2-cfontana@suse.de>
2022-08-02 0:41 ` |WARNING| pw114492 [PATCH 1/2] vhost: check for nr_vec == 0 in desc_to_mbuf, mbuf_to_desc checkpatch
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).