From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id AF49A3798 for ; Thu, 28 Apr 2016 12:39:56 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 28 Apr 2016 03:39:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,546,1455004800"; d="scan'208";a="968308589" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by fmsmga002.fm.intel.com with ESMTP; 28 Apr 2016 03:39:54 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.238]) by IRSMSX109.ger.corp.intel.com ([169.254.13.57]) with mapi id 14.03.0248.002; Thu, 28 Apr 2016 11:39:04 +0100 From: "Dumitrescu, Cristian" To: "Mrozowicz, SlawomirX" CC: "dev@dpdk.org" Thread-Topic: [PATCH] examples: fix CID 30699 copy-paste error Thread-Index: AQHRlXmEWCAwoXbQgk+LB+VxoC/HCZ+fSTtA Date: Thu, 28 Apr 2016 10:39:05 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D89126479A6DCA@IRSMSX108.ger.corp.intel.com> References: <1460548037-19585-1-git-send-email-slawomirx.mrozowicz@intel.com> In-Reply-To: <1460548037-19585-1-git-send-email-slawomirx.mrozowicz@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjU1OTQ2M2UtNWI5Yy00ZjJiLTljNmYtNmNmNGE3NGNjZTQxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjNMaEZBa3pFQlIzclwvWGM0bXVlbE1sWUplZ3cwdmF3aTIrdENLRFF5WHdrPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples: fix CID 30699 copy-paste error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 10:39:57 -0000 > -----Original Message----- > From: Mrozowicz, SlawomirX > Sent: Wednesday, April 13, 2016 12:47 PM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org; Mrozowicz, SlawomirX > > Subject: [PATCH] examples: fix CID 30699 copy-paste error >=20 > It fix coverity issue: > CID 30699 (#1 of 1): Copy-paste error (COPY_PASTE_ERROR) > copy_paste_error: rx_port in pconf->rx_port looks like a copy-paste error= . >=20 > Fixes: de3cfa2c9823 ("sched: initial import") > Signed-off-by: Slawomir Mrozowicz > --- > examples/qos_sched/args.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/examples/qos_sched/args.c b/examples/qos_sched/args.c > index 3e7fd08..1916790 100644 > --- a/examples/qos_sched/args.c > +++ b/examples/qos_sched/args.c > @@ -270,7 +270,7 @@ app_parse_flow_conf(const char *conf_str) > } > if (pconf->tx_port >=3D RTE_MAX_ETHPORTS) { > RTE_LOG(ERR, APP, "pfc %u: invalid tx port %"PRIu8" > index\n", > - nb_pfc, pconf->rx_port); > + nb_pfc, pconf->tx_port); > return -1; > } >=20 > -- > 1.9.1 Acked-by: Cristian Dumitrescu