Displaying 1 result from an estimated 1 matches for "3cdc7dba37e3".
2023 Dec 25
1
[PATCH -next] drm/nouveau: uapi: fix kerneldoc warnings
...gt;> ???? __u64 bo_offset;
>> ???? __u64 range;
>> };
>
> Do we actually ever want preprocessor directives 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 dir...