[dpdk-test-report] |WARNING| pw27190 [PATCH pktgen 5/6] fix 32-bit build

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jul 26 00:22:45 CEST 2017


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

_coding style issues_


WARNING:LONG_LINE: line over 90 characters
#110: FILE: app/pktgen-cmds.c:554:
+		fprintf(fd, "pktgen.jitter('%d', %" PRIu64 ");
", i, info->jitter_threshold);

ERROR:CODE_INDENT: code indent should use tabs where possible
#133: FILE: app/pktgen-latency.c:242:
+^I^I         info->max_ipackets, info->rate_stats.ipackets);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#138: FILE: app/pktgen-latency.c:246:
+^I^I         info->max_opackets, info->rate_stats.opackets);$

WARNING:LONG_LINE: line over 90 characters
#205: FILE: app/pktgen-port-cfg.h:341:
+		"   rx_offload_capa:%4d, tx_offload_capa   :%4d, reta_size     :%6d, flow_type_rss_offloads:%016" PRIx64 "
",

ERROR:CODE_INDENT: code indent should use tabs where possible
#219: FILE: app/pktgen-stats.c:343:
+^I^I         info->max_ipackets, rate->ipackets);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#224: FILE: app/pktgen-stats.c:347:
+^I^I         info->max_opackets, rate->opackets);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#238: FILE: app/pktgen-stats.c:366:
+^I^I         info->sizes.runt, info->sizes.jumbo);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#245: FILE: app/pktgen-stats.c:372:
+^I^I         prev->ierrors, prev->oerrors);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#255: FILE: app/pktgen-stats.c:384:
+^I^I         info->stats.arp_pkts, info->stats.echo_pkts);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#264: FILE: app/pktgen-stats.c:391:
+^I^I^I         info->tx_pps, info->tx_cycles);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#314: FILE: app/pktgen-stats.c:562:
+        snprintf(buff, sizeof(buff), "%" PRIu64 "/%" PRIu64,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#314: FILE: app/pktgen-stats.c:562:
+        snprintf(buff, sizeof(buff), "%" PRIu64 "/%" PRIu64,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#315: FILE: app/pktgen-stats.c:563:
+^I^I         s->ipackets, s->opackets);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#324: FILE: app/pktgen-stats.c:578:
+        snprintf(buff, sizeof(buff), "%" PRIu64 "/%" PRIu64,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#324: FILE: app/pktgen-stats.c:578:
+        snprintf(buff, sizeof(buff), "%" PRIu64 "/%" PRIu64,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#325: FILE: app/pktgen-stats.c:579:
+^I^I         s->ierrors, s->imissed);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#334: FILE: app/pktgen-stats.c:595:
+        snprintf(buff, sizeof(buff), "%" PRIu64 "/%" PRIu64,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#334: FILE: app/pktgen-stats.c:595:
+        snprintf(buff, sizeof(buff), "%" PRIu64 "/%" PRIu64,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#335: FILE: app/pktgen-stats.c:596:
+^I^I         r->ipackets, r->opackets);$

total: 14 errors, 5 warnings, 293 lines checked


More information about the test-report mailing list