From: Dmitriy Yakovlev <bombermag@gmail.com>
To: dev@dpdk.org
Cc: Dmitriy Yakovlev <bombermag@gmail.com>
Subject: [dpdk-dev] [PATCH] cfgfile: fix return value comment
Date: Sat, 16 Apr 2016 01:58:43 +0300 [thread overview]
Message-ID: <1460761123-5752-1-git-send-email-bombermag@gmail.com> (raw)
Function rte_cfgfile_load can return NULL value, when something goes wrong.
Signed-off-by: Dmitriy Yakovlev <bombermag@gmail.com>
---
lib/librte_cfgfile/rte_cfgfile.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_cfgfile/rte_cfgfile.h b/lib/librte_cfgfile/rte_cfgfile.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);
--
2.6.2.windows.1
next reply other threads:[~2016-04-15 22:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 22:58 Dmitriy Yakovlev [this message]
2016-04-18 8:21 ` Dumitrescu, Cristian
2016-05-02 12:58 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1460761123-5752-1-git-send-email-bombermag@gmail.com \
--to=bombermag@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).