mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-14 00:37:41 -04:00
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>
This commit is contained in:
parent
194d5caaef
commit
c17a811c62
1 changed files with 1 additions and 1 deletions
2
fdtput.c
2
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 List of arguments from command line
|
||||||
* @param arg_count Number of arguments (may be 0)
|
* @param arg_count Number of arguments (may be 0)
|
||||||
* @param valuep Returns buffer containing value
|
* @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,
|
static int encode_value(struct display_info *disp, char **arg, int arg_count,
|
||||||
char **valuep, int *value_len)
|
char **valuep, int *value_len)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue