Re: [PATCH 5/5] doc: kerneldoc.py: fix indentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2/15/24 05:48, Vegard Nossum wrote:
> kerneldoc.py is mostly indented with 4 spaces (like PEP8 suggests);
> replace the last remaining tabs for consistency.
> 
> No functional change.
> 
> Cc: Jani Nikula <jani.nikula@xxxxxxxxx>
> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx>

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

> ---
>  Documentation/sphinx/kerneldoc.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/sphinx/kerneldoc.py b/Documentation/sphinx/kerneldoc.py
> index 7acf09963daa..ec1ddfff1863 100644
> --- a/Documentation/sphinx/kerneldoc.py
> +++ b/Documentation/sphinx/kerneldoc.py
> @@ -61,9 +61,9 @@ class KernelDocDirective(Directive):
>          env = self.state.document.settings.env
>          cmd = [env.config.kerneldoc_bin, '-rst', '-enable-lineno']
>  
> -	# Pass the version string to kernel-doc, as it needs to use a different
> -	# dialect, depending what the C domain supports for each specific
> -	# Sphinx versions
> +        # Pass the version string to kernel-doc, as it needs to use a different
> +        # dialect, depending what the C domain supports for each specific
> +        # Sphinx versions
>          cmd += ['-sphinx-version', sphinx.__version__]
>  
>          filename = env.config.kerneldoc_srctree + '/' + self.arguments[0]

-- 
#Randy




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux