Displaying 1 result from an estimated 1 matches for "dump_struct".
2023 Dec 25
1
[PATCH -next] drm/nouveau: uapi: fix kerneldoc warnings
...ves to appear inside
> definitions in the output? If not, I think this should work:
Not necessarily.
> diff --git a/scripts/kernel-doc b/scripts/kernel-doc
> index 3cdc7dba37e3..61425fc9645e 100755
> --- a/scripts/kernel-doc
> +++ b/scripts/kernel-doc
> @@ -1259,6 +1259,8 @@ sub dump_struct($$) {
> ??????????????? $clause =~ s/\s+$//;
> ??????????????? $clause =~ s/\s+/ /;
> ??????????????? next if (!$clause);
> +?????????????? # skip preprocessor directives
> +?????????????? next if $clause =~ m/^#/;
> ??????????????? $level-- if ($clause =~ m/(\})/ && $leve...