[PATCH] Documentation/kbuild: Fix indentation in modules.rst example

Kefan Liu posted 1 patch 9 months, 1 week ago
Documentation/kbuild/modules.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Documentation/kbuild: Fix indentation in modules.rst example
Posted by Kefan Liu 9 months, 1 week ago
Correct the indentation in an example within the `modules.rst` file
to improve readability.

Signed-off-by: Kefan Liu <liukefan24s@ict.ac.cn>
---
 Documentation/kbuild/modules.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/kbuild/modules.rst b/Documentation/kbuild/modules.rst
index a42f00d8cb90..d0703605bfa4 100644
--- a/Documentation/kbuild/modules.rst
+++ b/Documentation/kbuild/modules.rst
@@ -318,7 +318,7 @@ Several Subdirectories
 		|	|__ include
 		|	    |__ hardwareif.h
 		|__ include
-		|__ complex.h
+			|__ complex.h
 
 	To build the module complex.ko, we then need the following
 	kbuild file::
-- 
2.43.0
Re: [PATCH] Documentation/kbuild: Fix indentation in modules.rst example
Posted by Masahiro Yamada 9 months, 1 week ago
On Wed, Mar 12, 2025 at 12:46 AM Kefan Liu <liukefan24s@ict.ac.cn> wrote:
>
> Correct the indentation in an example within the `modules.rst` file
> to improve readability.
>
> Signed-off-by: Kefan Liu <liukefan24s@ict.ac.cn>

Applied to linux-kbuild.
Thanks!

> ---
>  Documentation/kbuild/modules.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/kbuild/modules.rst b/Documentation/kbuild/modules.rst
> index a42f00d8cb90..d0703605bfa4 100644
> --- a/Documentation/kbuild/modules.rst
> +++ b/Documentation/kbuild/modules.rst
> @@ -318,7 +318,7 @@ Several Subdirectories
>                 |       |__ include
>                 |           |__ hardwareif.h
>                 |__ include
> -               |__ complex.h
> +                       |__ complex.h
>
>         To build the module complex.ko, we then need the following
>         kbuild file::
> --
> 2.43.0
>
>


-- 
Best Regards
Masahiro Yamada