[dpdk-test-report] |WARNING| pw64932 [PATCH 1/2] net/virtio: refactor devargs parsing
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Jan 20 15:19:41 CET 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/64932
_coding style issues_
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#134: FILE: drivers/net/virtio/virtio_ethdev.c:1961:
+ *(int*)ret_val = 1;
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#136: FILE: drivers/net/virtio/virtio_ethdev.c:1963:
+ *(int*)ret_val = 0;
WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#156: FILE: drivers/net/virtio/virtio_ethdev.c:1987:
+ /* vdpa mode selected when there's a key-value pair:
+ vdpa=1 */
WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#156: FILE: drivers/net/virtio/virtio_ethdev.c:1987:
+ vdpa=1 */
WARNING:BRACES: braces {} are not necessary for single statement blocks
#159: FILE: drivers/net/virtio/virtio_ethdev.c:1990:
+ if (ret < 0) {
goto exit;
}
total: 2 errors, 3 warnings, 0 checks, 59 lines checked
More information about the test-report
mailing list