[dpdk-test-report] |WARNING| pw21401 [PATCH 5/5] net/virtio-user: add lsc support with vhost-kernel adapter

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 3 18:56:32 CET 2017


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/21401

_coding style issues_


ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#193: FILE: drivers/net/virtio/virtio_user_ethdev.c:101:
+			while (read(dev->fd_inotify, buf, sizeof buf) > 0) {};

WARNING:BRACES: braces {} are not necessary for single statement blocks
#193: FILE: drivers/net/virtio/virtio_user_ethdev.c:101:
+			while (read(dev->fd_inotify, buf, sizeof buf) > 0) {};

WARNING:SIZEOF_PARENTHESIS: sizeof buf should be sizeof(buf)
#193: FILE: drivers/net/virtio/virtio_user_ethdev.c:101:
+			while (read(dev->fd_inotify, buf, sizeof buf) > 0) {};

total: 1 errors, 2 warnings, 0 checks, 129 lines checked


More information about the test-report mailing list