[dpdk-test-report] |WARNING| pw51322 [PATCH 05/10] net/virtio: refactor virtqueue structure

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 21 18:58:41 CET 2019


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

_coding style issues_


CHECK:BOOL_MEMBER: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384
#586: FILE: drivers/net/virtio/virtqueue.h:203:
+			bool used_wrap_counter;

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'vq' - possible side-effects?
#672: FILE: drivers/net/virtio/virtqueue.h:411:
+#define VIRTQUEUE_NUSED(vq) ((uint16_t)((vq)->vq_split.ring.used->idx - \
+					(vq)->vq_used_cons_idx))

total: 0 errors, 0 warnings, 2 checks, 630 lines checked


More information about the test-report mailing list