Re: [PATCH v2 1/4] scripts/get_feat.pl: allow output the parsed file names

Jonathan Corbet
2022-03-26T00:03:25Z

Mauro Carvalho Chehab <mchehab@kernel.org> writes:

> Btw, maybe we could replace them tree with a Sphinx comment, like:
>
> get_feat.pl:
> .. FILE <file_name>
> kernel-doc:
> .. LINE <line_number>
> get_abi.pl:
> .. FILE_LINE <file_name>:<line_number>
>
> (or something similar)
>
> Just let me know what you prefer and I can take care of the needed
> changes on this patch and, if it is the case, writing the extra patches
> in order to use the same model on kernel-doc and get_abi.pl.

If it were just me, I'd just put "FILE <name>" or something simple.

I don't really have a strong opinion on the matter though; it's not like
people have to actually look at these things. I was mostly curious as
to why you'd done it that way. I can take the original patches or any
of the variants above; just let me know which you like best and we'll
get this done.

Thanks,

jon