automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw20230 [PATCH RFCv3 12/19] examples/quota_watermark: use ring space for watermarks
       [not found] <1486476777-24768-13-git-send-email-bruce.richardson@intel.com>
@ 2017-02-07 14:14 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-02-07 14:14 UTC (permalink / raw)
  To: test-report; +Cc: Bruce Richardson

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

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#83: FILE: examples/quota_watermark/qw/init.c:140:
+    *high_watermark = 80 * RING_SIZE / 100;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#92: FILE: examples/quota_watermark/qw/init.c:167:
+    qw_memzone = rte_memzone_reserve(QUOTA_WATERMARK_MEMZONE_NAME, 3 * sizeof(int),$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#99: FILE: examples/quota_watermark/qw/init.c:174:
+    high_watermark = (unsigned int *) qw_memzone->addr + 2;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#117: FILE: examples/quota_watermark/qw/main.c:161:
+    unsigned int free;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#127: FILE: examples/quota_watermark/qw/main.c:191:
+            ret = rte_ring_enqueue_bulk(ring, (void *) pkts, nb_rx_pkts, &free);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#127: FILE: examples/quota_watermark/qw/main.c:191:
+            ret = rte_ring_enqueue_bulk(ring, (void *) pkts, nb_rx_pkts, &free);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#128: FILE: examples/quota_watermark/qw/main.c:192:
+            if (RING_SIZE - free > *high_watermark) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#128: FILE: examples/quota_watermark/qw/main.c:192:
+            if (RING_SIZE - free > *high_watermark) {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#134: FILE: examples/quota_watermark/qw/main.c:197:
+            else if (ret == 0) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#134: FILE: examples/quota_watermark/qw/main.c:197:
+            else if (ret == 0) {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#143: FILE: examples/quota_watermark/qw/main.c:251:
+            ret = rte_ring_enqueue_bulk(tx, pkts, nb_dq_pkts, NULL);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#143: FILE: examples/quota_watermark/qw/main.c:251:
+            ret = rte_ring_enqueue_bulk(tx, pkts, nb_dq_pkts, NULL);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#168: FILE: examples/quota_watermark/qwctl/commands.c:140:
+                *high_watermark = tokens->value * RING_SIZE / 100;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#168: FILE: examples/quota_watermark/qwctl/commands.c:140:
+                *high_watermark = tokens->value * RING_SIZE / 100;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#188: FILE: examples/quota_watermark/qwctl/qwctl.c:72:
+    high_watermark = (unsigned int *) qw_memzone->addr + 2;$

total: 5 errors, 10 warnings, 102 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-07 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1486476777-24768-13-git-send-email-bruce.richardson@intel.com>
2017-02-07 14:14 ` [dpdk-test-report] |WARNING| pw20230 [PATCH RFCv3 12/19] examples/quota_watermark: use ring space for watermarks checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).