automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw28073 [PATCH 2/2] app/testpmd: get information about protocols defined in ddp
       [not found] <1504075836-102681-3-git-send-email-kirill.rybalchenko@intel.com>
@ 2017-08-30  6:51 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-08-30  6:51 UTC (permalink / raw)
  To: test-report; +Cc: Kirill Rybalchenko

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

_coding style issues_


WARNING:LONG_LINE: line over 90 characters
#68: FILE: app/test-pmd/cmdline.c:13527:
+					printf("  %2u: %s
", proto[i].proto_id, proto[i].name);

WARNING:LONG_LINE: line over 90 characters
#76: FILE: app/test-pmd/cmdline.c:13535:
+					malloc(pctype_num * sizeof(struct rte_pmd_i40e_ptype_info));

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#83: FILE: app/test-pmd/cmdline.c:13542:
+						for (i = 0; i < pctype_num; i++) {

WARNING:LONG_LINE: line over 90 characters
#84: FILE: app/test-pmd/cmdline.c:13543:
+							printf("  %2u:", pctype[i].ptype_id);

WARNING:LONG_LINE: line over 90 characters
#85: FILE: app/test-pmd/cmdline.c:13544:
+							for (j = 0; j < RTE_PMD_I40E_PROTO_NUM; j++) {

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#85: FILE: app/test-pmd/cmdline.c:13544:
+							for (j = 0; j < RTE_PMD_I40E_PROTO_NUM; j++) {

WARNING:LONG_LINE: line over 90 characters
#86: FILE: app/test-pmd/cmdline.c:13545:
+								proto_id = pctype[i].protocols[j];

WARNING:LONG_LINE: line over 90 characters
#87: FILE: app/test-pmd/cmdline.c:13546:
+								if (proto_id != RTE_PMD_I40E_PROTO_UNUSED) {

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#87: FILE: app/test-pmd/cmdline.c:13546:
+								if (proto_id != RTE_PMD_I40E_PROTO_UNUSED) {

WARNING:LONG_LINE: line over 90 characters
#88: FILE: app/test-pmd/cmdline.c:13547:
+									for (n = 0; n < proto_num; n++) {

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#88: FILE: app/test-pmd/cmdline.c:13547:
+									for (n = 0; n < proto_num; n++) {

WARNING:LONG_LINE: line over 90 characters
#89: FILE: app/test-pmd/cmdline.c:13548:
+										if (proto[n].proto_id == proto_id) {

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#89: FILE: app/test-pmd/cmdline.c:13548:
+										if (proto[n].proto_id == proto_id) {

WARNING:LONG_LINE: line over 90 characters
#90: FILE: app/test-pmd/cmdline.c:13549:
+											printf(" %s", proto[n].name);

WARNING:LONG_LINE: line over 90 characters
#91: FILE: app/test-pmd/cmdline.c:13550:
+											break;

WARNING:LONG_LINE: line over 90 characters
#108: FILE: app/test-pmd/cmdline.c:13567:
+					malloc(ptype_num * sizeof(struct rte_pmd_i40e_ptype_info));

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#115: FILE: app/test-pmd/cmdline.c:13574:
+						for (i = 0; i < ptype_num; i++) {

WARNING:LONG_LINE: line over 90 characters
#116: FILE: app/test-pmd/cmdline.c:13575:
+							printf("  %2u:", ptype[i].ptype_id);

WARNING:LONG_LINE: line over 90 characters
#117: FILE: app/test-pmd/cmdline.c:13576:
+							for (j = 0; j < RTE_PMD_I40E_PROTO_NUM; j++) {

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#117: FILE: app/test-pmd/cmdline.c:13576:
+							for (j = 0; j < RTE_PMD_I40E_PROTO_NUM; j++) {

WARNING:LONG_LINE: line over 90 characters
#118: FILE: app/test-pmd/cmdline.c:13577:
+								proto_id = ptype[i].protocols[j];

WARNING:LONG_LINE: line over 90 characters
#119: FILE: app/test-pmd/cmdline.c:13578:
+								if (proto_id != RTE_PMD_I40E_PROTO_UNUSED) {

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#119: FILE: app/test-pmd/cmdline.c:13578:
+								if (proto_id != RTE_PMD_I40E_PROTO_UNUSED) {

WARNING:LONG_LINE: line over 90 characters
#120: FILE: app/test-pmd/cmdline.c:13579:
+									for (n = 0; n < proto_num; n++) {

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#120: FILE: app/test-pmd/cmdline.c:13579:
+									for (n = 0; n < proto_num; n++) {

WARNING:LONG_LINE: line over 90 characters
#121: FILE: app/test-pmd/cmdline.c:13580:
+										if (proto[n].proto_id == proto_id) {

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#121: FILE: app/test-pmd/cmdline.c:13580:
+										if (proto[n].proto_id == proto_id) {

WARNING:LONG_LINE: line over 90 characters
#122: FILE: app/test-pmd/cmdline.c:13581:
+											printf(" %s", proto[n].name);

WARNING:LONG_LINE: line over 90 characters
#123: FILE: app/test-pmd/cmdline.c:13582:
+											break;

total: 0 errors, 29 warnings, 111 lines checked

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

only message in thread, other threads:[~2017-08-30  6:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1504075836-102681-3-git-send-email-kirill.rybalchenko@intel.com>
2017-08-30  6:51 ` [dpdk-test-report] |WARNING| pw28073 [PATCH 2/2] app/testpmd: get information about protocols defined in ddp 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).