From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Jiayu Hu <jiayu.hu@intel.com>
Subject: |WARNING| pw104544 [RFC 1/1] vhost: integrate dmadev in asynchronous datapath
Date: Mon, 22 Nov 2021 03:53:57 +0100 (CET) [thread overview]
Message-ID: <20211122025357.0FB5A121E65@dpdk.org> (raw)
In-Reply-To: <20211122105437.3534231-2-jiayu.hu@intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/104544
_coding style issues_
WARNING:TYPO_SPELLING: 'applcations' may be misspelled - perhaps 'applications'?
#170: FILE: doc/guides/prog_guide/vhost_lib.rst:431:
+enables applcations, like OVS, to save CPU cycles and hide memory copy
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1039: FILE: lib/vhost/vhost.h:55:
+#define VHOST_ASYNC_DMA_TRACK_RING_SIZE (uint32_t)4096
WARNING:TYPO_SPELLING: 'arry' may be misspelled - perhaps 'array'?
#1094: FILE: lib/vhost/vhost.h:171:
+ * Note that this arry could be written by multiple
WARNING:BRACES: braces {} are not necessary for single statement blocks
#1152: FILE: lib/vhost/virtio_net.c:67:
+ if (unlikely(dma_space_left < nr_segs)) {
+ goto out;
+ }
WARNING:BRACES: braces {} are not necessary for single statement blocks
#1211: FILE: lib/vhost/virtio_net.c:126:
+ if (nr_copies == 0) {
+ goto out;
+ }
total: 1 errors, 4 warnings, 1006 lines checked
parent reply other threads:[~2021-11-22 2:53 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20211122105437.3534231-2-jiayu.hu@intel.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=20211122025357.0FB5A121E65@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=jiayu.hu@intel.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).