[Crosstoolchain-logs] [device-tree-compiler] 41/58: fdtput: Remove star from value_len documentation

Vagrant Cascadian vagrant at moszumanska.debian.org
Mon Sep 25 16:23:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

vagrant pushed a commit to branch debian/master
in repository device-tree-compiler.

commit c17a811c62ebdcb3ad6e7b5c9a0e0f64d5d64d8b
Author: Nicolas Iooss <nicolas.iooss_linux at m4x.org>
Date:   Sat Mar 4 14:26:47 2017 +0100

    fdtput: Remove star from value_len documentation
    
    When clang checks the documentation tags (with -Wdocumentation flag), it
    reports the following warning:
    
        fdtput.c:70:11: error: parameter '*value_len' not found in the
        function declaration [-Werror,-Wdocumentation]
         * @param *value_len    Returns length of value encoded
                  ^~~~~~~~~~
        fdtput.c:70:11: note: did you mean 'value_len'?
         * @param *value_len    Returns length of value encoded
                  ^~~~~~~~~~
                  value_len
    
    As this sounds reasonable, remove the star from the documentation tag.
    
    Signed-off-by: Nicolas Iooss <nicolas.iooss_linux at m4x.org>
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 fdtput.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fdtput.c b/fdtput.c
index 8a7e8a8..8d8e934 100644
--- a/fdtput.c
+++ b/fdtput.c
@@ -67,7 +67,7 @@ static void report_error(const char *name, int namelen, int err)
  * @param arg		List of arguments from command line
  * @param arg_count	Number of arguments (may be 0)
  * @param valuep	Returns buffer containing value
- * @param *value_len	Returns length of value encoded
+ * @param value_len	Returns length of value encoded
  */
 static int encode_value(struct display_info *disp, char **arg, int arg_count,
 			char **valuep, int *value_len)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list