cfgfile: fix return value comment
PATCH 1/1 cfgfile: fix return value comment
Function rte_cfgfile_load can return NULL value, when something goes wrong.
Signed-off-by Dmitriy Yakovlev <[email protected]>
--- lib/librte_cfgfile/rte_cfgfile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_cfgfile/rte_cfgfile.h +1 -1
@@ -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);
Signature · 1 line
2.6.2.windows.1
Quoted 31 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Dmitriy Yakovlev
Sent: Friday, April 15, 2016 11:59 PM
To: [email protected]
Cc: Dmitriy Yakovlev <[email protected]>
Subject: [dpdk-dev] [PATCH] cfgfile: fix return value commentFunction
rte_cfgfile_loadcan return NULL value, when something goes wrong.Signed-off-by Dmitriy Yakovlev <[email protected]>--- lib/librte_cfgfile/rte_cfgfile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)lib/librte_cfgfile/rte_cfgfile.h +1
-2@@ -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); --
Quoted 1 line
2.6.2.windows.1
Thomas Monjalon
AppliedQuoted 5 lines
Quoted 4 lines
Function
rte_cfgfile_loadcan return NULL value, when something goes wrong.Signed-off-by Dmitriy Yakovlev <[email protected]>
Applied, thanks