[dpdk-test-report] |WARNING| pw24133 [PATCH RFC 09/11] xxx: virtio: remove overheads

checkpatch at dpdk.org checkpatch at dpdk.org
Fri May 5 15:58:45 CEST 2017


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

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#170: FILE: drivers/net/virtio/virtio_rxtx.c:240:
+        * stored in reserved region.$

ERROR:CODE_INDENT: code indent should use tabs where possible
#171: FILE: drivers/net/virtio/virtio_rxtx.c:241:
+        */$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#172: FILE: drivers/net/virtio/virtio_rxtx.c:242:
+       start_dp[idx].addr  = txvq->virtio_net_hdr_mem +$

ERROR:CODE_INDENT: code indent should use tabs where possible
#173: FILE: drivers/net/virtio/virtio_rxtx.c:243:
+       ^IRTE_PTR_DIFF(&txr[idx].tx_hdr, txr);$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#173: FILE: drivers/net/virtio/virtio_rxtx.c:243:
+       ^IRTE_PTR_DIFF(&txr[idx].tx_hdr, txr);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#173: FILE: drivers/net/virtio/virtio_rxtx.c:243:
+       ^IRTE_PTR_DIFF(&txr[idx].tx_hdr, txr);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#174: FILE: drivers/net/virtio/virtio_rxtx.c:244:
+       start_dp[idx].len   = vq->hw->vtnet_hdr_size;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#175: FILE: drivers/net/virtio/virtio_rxtx.c:245:
+       start_dp[idx].flags = VRING_DESC_F_NEXT;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#201: FILE: drivers/net/virtio/virtio_rxtx.c:247:
+       idx = start_dp[idx].next;$

ERROR:SPACING: spaces required around that '=' (ctx:WxV)
#261: FILE: drivers/net/virtio/virtio_rxtx.c:899:
+		slots =txm->nb_segs + 1;
 		      ^

total: 4 errors, 6 warnings, 0 checks, 241 lines checked


More information about the test-report mailing list