From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Jens Freimann <jfreimann@redhat.com>
Subject: [dpdk-test-report] |WARNING| pw36167 [PATCH 12/17] vhost: dequeue for packed queues
Date: Fri, 16 Mar 2018 16:23:27 +0100 (CET) [thread overview]
Message-ID: <20180316152327.2BB697CEA@dpdk.org> (raw)
In-Reply-To: <20180316152120.13199-13-jfreimann@redhat.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/36167
_coding style issues_
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#99: FILE: lib/librte_vhost/virtio_net.c:1147:
+ if (unlikely((desc->len < dev->vhost_hlen)) ||
[...]
+ RTE_LOG(ERR, VHOST_DATA,
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#169: FILE: lib/librte_vhost/virtio_net.c:1217:
+ if (unlikely(dev->dequeue_zero_copy && (hpa = gpa_to_hpa(dev,
WARNING:BRACES: braces {} are not necessary for single statement blocks
#202: FILE: lib/librte_vhost/virtio_net.c:1250:
+ if (unlikely(desc->flags & VRING_DESC_F_INDIRECT)) {
+ RTE_LOG(ERR, VHOST_DATA, "INDIRECT not supported yet");
+ }
total: 1 errors, 2 warnings, 254 lines checked
parent reply other threads:[~2018-03-16 15:23 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20180316152120.13199-13-jfreimann@redhat.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=20180316152327.2BB697CEA@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=jfreimann@redhat.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).