From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 0415B3251; Wed, 30 Aug 2017 08:51:11 +0200 (CEST) In-Reply-To: <1504075836-102681-3-git-send-email-kirill.rybalchenko@intel.com> References: <1504075836-102681-3-git-send-email-kirill.rybalchenko@intel.com> To: test-report@dpdk.org Cc: Kirill Rybalchenko Message-Id: <20170830065111.0415B3251@dpdk.org> Date: Wed, 30 Aug 2017 08:51:11 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw28073 [PATCH 2/2] app/testpmd: get information about protocols defined in ddp X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 06:51:11 -0000 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