* [dpdk-test-report] |WARNING| pw21401 [PATCH 5/5] net/virtio-user: add lsc support with vhost-kernel adapter
[not found] <1488563803-87754-6-git-send-email-jianfeng.tan@intel.com>
@ 2017-03-03 17:56 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-03 17:56 UTC (permalink / raw)
To: test-report; +Cc: Jianfeng Tan
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
^ permalink raw reply [flat|nested] only message in thread