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 B7D9B32A5 for ; Mon, 18 Apr 2016 10:22:03 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 18 Apr 2016 01:22:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,501,1455004800"; d="scan'208";a="786995071" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by orsmga003.jf.intel.com with ESMTP; 18 Apr 2016 01:22:02 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.238]) by IRSMSX107.ger.corp.intel.com ([169.254.10.228]) with mapi id 14.03.0248.002; Mon, 18 Apr 2016 09:22:00 +0100 From: "Dumitrescu, Cristian" To: Dmitriy Yakovlev , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] cfgfile: fix return value comment Thread-Index: AQHRl2pyePhO6x3NuESyMedkUOw245+PZ7FA Date: Mon, 18 Apr 2016 08:21:59 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D89126479A2A8C@IRSMSX108.ger.corp.intel.com> References: <1460761123-5752-1-git-send-email-bombermag@gmail.com> In-Reply-To: <1460761123-5752-1-git-send-email-bombermag@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzExZWU3MGUtZjUzNC00OWM2LTk5ZjQtZDkwNDEyNzY5NTRmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImFWOUhtc1pEWHg3eWhnaDVQRmZobFZVTENzc0FETkdNV2Z6TlBLV1RPaUU9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] cfgfile: fix return value comment 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: Mon, 18 Apr 2016 08:22:04 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Dmitriy Yakovlev > Sent: Friday, April 15, 2016 11:59 PM > To: dev@dpdk.org > Cc: Dmitriy Yakovlev > Subject: [dpdk-dev] [PATCH] cfgfile: fix return value comment >=20 > Function rte_cfgfile_load can return NULL value, when something goes > wrong. >=20 > Signed-off-by: Dmitriy Yakovlev > --- > lib/librte_cfgfile/rte_cfgfile.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/lib/librte_cfgfile/rte_cfgfile.h b/lib/librte_cfgfile/rte_cf= gfile.h > index 834f828..f649836 100644 > --- a/lib/librte_cfgfile/rte_cfgfile.h > +++ b/lib/librte_cfgfile/rte_cfgfile.h > @@ -72,7 +72,7 @@ struct rte_cfgfile_entry { > * @param flags > * Config file flags, Reserved for future use. Must be set to 0. > * @return > -* Handle to configuration file > +* Handle to configuration file on success, NULL otherwise > */ > struct rte_cfgfile *rte_cfgfile_load(const char *filename, int flags); >=20 > -- > 2.6.2.windows.1 Acked-by: Cristian Dumitrescu