From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id B9BD37EBB for ; Wed, 18 Apr 2018 16:05:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Apr 2018 07:03:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,465,1517904000"; d="scan'208";a="35205423" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga006.jf.intel.com with ESMTP; 18 Apr 2018 07:03:28 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.176]) by irsmsx110.ger.corp.intel.com ([169.254.15.211]) with mapi id 14.03.0319.002; Wed, 18 Apr 2018 15:03:27 +0100 From: "Singh, Jasvinder" To: "Zhang, Roy Fan" , "dev@dpdk.org" CC: "Dumitrescu, Cristian" Thread-Topic: [PATCH] examples/ip_pipeline: fix logically dead node Thread-Index: AQHT1XLkysCde0EPwUCUO4Ka+mcVmqQGkJXQ Date: Wed, 18 Apr 2018 14:03:27 +0000 Message-ID: <54CBAA185211B4429112C315DA58FF6D33340886@IRSMSX101.ger.corp.intel.com> References: <20180416105820.66064-1-roy.fan.zhang@intel.com> In-Reply-To: <20180416105820.66064-1-roy.fan.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjI1MDEyMjAtNzI0Ny00MDEyLTk0YzYtMDQyZGM1MGFiNjU2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IlVhUTd2VnNCUThFWWtOWTZNV3AwUjJuNzlraVwveEdIUGhXYkZzaU1IWkEwPSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/ip_pipeline: fix logically dead node X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 14:05:50 -0000 > -----Original Message----- > From: Zhang, Roy Fan > Sent: Monday, April 16, 2018 11:58 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Singh, Jasvinde= r > > Subject: [PATCH] examples/ip_pipeline: fix logically dead node >=20 > Coverity issue: 272567 > Fixes: d75c371e9b46 ("examples/ip_pipeline: add pipeline object") >=20 > Signed-off-by: Fan Zhang > --- > examples/ip_pipeline/cli.c | 6 ------ > 1 file changed, 6 deletions(-) >=20 > diff --git a/examples/ip_pipeline/cli.c b/examples/ip_pipeline/cli.c inde= x > 199a31ff8..6c07ca223 100644 > --- a/examples/ip_pipeline/cli.c > +++ b/examples/ip_pipeline/cli.c > @@ -1890,12 +1890,6 @@ cmd_pipeline_table(char **tokens, >=20 > t0 +=3D 6; > } else if (strcmp(tokens[t0], "stub") =3D=3D 0) { > - if (n_tokens < t0 + 1) { > - snprintf(out, out_size, MSG_ARG_MISMATCH, > - "pipeline table stub"); > - return; > - } > - > p.match_type =3D TABLE_STUB; >=20 > t0 +=3D 1; > -- > 2.13.6 Reviewed-by: Jasvinder Singh