* [dpdk-test-report] |WARNING| pw37281 [PATCH v3 20/21] net/virtio: add support for event suppression
[not found] <20180405101031.26468-21-jfreimann@redhat.com>
@ 2018-04-05 10:13 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-04-05 10:13 UTC (permalink / raw)
To: test-report; +Cc: Jens Freimann
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/37281
_coding style issues_
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 32)
#57: FILE: drivers/net/virtio/virtio_rxtx.c:130:
+ if (unlikely(virtqueue_kick_prepare_packed(vq))) {
+ virtqueue_notify(vq);
CHECK:BRACES: braces {} should be used on all arms of this statement
#128: FILE: drivers/net/virtio/virtqueue.h:296:
+ if (*event_off_wrap & RING_EVENT_FLAGS_DESC) {
[...]
+ } else
[...]
CHECK:BRACES: Unbalanced braces around else statement
#132: FILE: drivers/net/virtio/virtqueue.h:300:
+ } else
CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#185: FILE: drivers/net/virtio/virtqueue.h:405:
+ new = vq->vq_signalled_avail = vq->vq_avail_idx;
total: 0 errors, 1 warnings, 3 checks, 154 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-05 10:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20180405101031.26468-21-jfreimann@redhat.com>
2018-04-05 10:13 ` [dpdk-test-report] |WARNING| pw37281 [PATCH v3 20/21] net/virtio: add support for event suppression 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).