From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by dpdk.org (Postfix) with ESMTP id 2D139475E for ; Sat, 16 Apr 2016 00:59:00 +0200 (CEST) Received: by mail-lf0-f48.google.com with SMTP id c126so161657207lfb.2 for ; Fri, 15 Apr 2016 15:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=H9vNBLgY0Ccn5xD7UJaD1wKthrR2pthJw8yZoBQww5I=; b=rCqHQ8C0z393dFH/DGbjj6ZE7uaZWkGIvivIuWezNmdgaxiz5gVjz0MnTPFHE9omOs /H9UieN+sG+Tv/z1DcIj+KK8qPevKcG3/3ZYNXag67sKU5dQznQYR1spsMoDsc4w0NXe NRmP3XvH5Lvp/sn6zVem5U3pasLr9v580uTCeH8J+q+mEdgcK6nM+7oO5gAJbuCTSqnk zHieUenLJruMlwC55bEo1rpozg5Bj+ahj+NI7iPlcRRTEWSt7kvMd5PovAlyARV7y+ol iVxk1jDN59ZT9A6j2LlXybbJ101XG7NiD9c3huyj2cW60jDMDAb7XTgWkVoR9/tOPntP aweg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=H9vNBLgY0Ccn5xD7UJaD1wKthrR2pthJw8yZoBQww5I=; b=CxA0WFExspgWS720IXSZgFbbwGUjXzMH9VVxObVPZzjWRONcrSz8oPP6hmJEVa9FZq SBoWuVGk/0e01hhkH0w3M417Mg4MNFDZ/Hvc/+V/712zEWL+apdGhm+DQuzLt2VgT2X6 E/0OjRM1M+8uvJsDZ+2nQmKI3hJC8/l97RX6TdsmWSJkNISbfKWwGuU3uF+t+ER/8Y+B Z7d4V36EUdZhAv5rNK9BaKBWLGvszxNDr2PZdxJ0SsV7qRZfLQSmv8VHmI8yEkyWQf6z GnnxM62iY2YSYeogHeH4Q5OTC+FJAbeILWqXv+w5jM4hfS2W/0pBkP3cPG/OX6t5T6YV 5ZJA== X-Gm-Message-State: AOPr4FWrxRoDI3CoGmNuD/ZqH1W8fJzteamJWS1/WbmIOR7pncYvhW0w4MR14uGdbny54A== X-Received: by 10.25.81.66 with SMTP id f63mr10752847lfb.78.1460761139872; Fri, 15 Apr 2016 15:58:59 -0700 (PDT) Received: from localhost.localdomain ([46.174.51.39]) by smtp.gmail.com with ESMTPSA id s4sm6653112lbr.34.2016.04.15.15.58.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Apr 2016 15:58:59 -0700 (PDT) From: Dmitriy Yakovlev To: dev@dpdk.org Cc: Dmitriy Yakovlev Date: Sat, 16 Apr 2016 01:58:43 +0300 Message-Id: <1460761123-5752-1-git-send-email-bombermag@gmail.com> X-Mailer: git-send-email 2.6.2.windows.1 Subject: [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: Fri, 15 Apr 2016 22:59:00 -0000 Function rte_cfgfile_load can return NULL value, when something goes wrong. Signed-off-by: Dmitriy Yakovlev --- 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