[dpdk-test-report] |WARNING| pw97601 [PATCH RFC] examples/vhost: remove the callbacks in app

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Aug 31 15:01:28 CEST 2021


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

_coding style issues_


WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#332: FILE: examples/vhost/main.c:99:
+extern struct dma_for_vhost dma_bind[MAX_VHOST_DEVICE];

ERROR:SPACING: space prohibited after that open square bracket '['
#361: FILE: examples/vhost/main.c:892:
+	int dmadev_id = dma_bind[vdev->vid].dmas[ VIRTIO_RXQ].dev_id;

total: 1 errors, 1 warnings, 247 lines checked


More information about the test-report mailing list