diff options
author | Nicolas Iooss <nicolas.iooss_linux@m4x.org> | 2017-03-04 14:26:47 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-03-06 14:19:26 +1100 |
commit | c17a811c62ebdcb3ad6e7b5c9a0e0f64d5d64d8b (patch) | |
tree | 64d20639012dfd93407c7580622a19a663821a50 /fdtput.c | |
parent | 194d5caaefcb7a65f492f09f83815e200d20b3df (diff) | |
download | dtc-c17a811c62ebdcb3ad6e7b5c9a0e0f64d5d64d8b.zip dtc-c17a811c62ebdcb3ad6e7b5c9a0e0f64d5d64d8b.tar.gz dtc-c17a811c62ebdcb3ad6e7b5c9a0e0f64d5d64d8b.tar.bz2 |
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@m4x.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'fdtput.c')
-rw-r--r-- | fdtput.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |