Documentation: gpu: vc4: add blank line separator before KUnit code block

Message ID 20221211053051.18125-1-bagasdotme@gmail.com
State New
Headers
Series Documentation: gpu: vc4: add blank line separator before KUnit code block |

Commit Message

Bagas Sanjaya Dec. 11, 2022, 5:30 a.m. UTC
  kernel test robot reports htmldocs warning:

Documentation/gpu/vc4.rst:65: WARNING: Unexpected indentation.

The warning is due to missing blank line separator between KUnit mock
driver sentence and its code block.

Add the separator to fix the warning.

Link: https://lore.kernel.org/linux-doc/202212102116.A10vg3jG-lkp@intel.com/
Fixes: 5304c8e6010012 ("Documentation: gpu: vc4: Add KUnit Tests Section")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/gpu/vc4.rst | 1 +
 1 file changed, 1 insertion(+)


base-commit: 612e241fb4bcd98d8ff9da7a795abb86b8ccfe38
  

Comments

Maíra Canal Dec. 11, 2022, 11:32 a.m. UTC | #1
I believe Maxime fixed this issue on [1], but it hasn't been yet merged
into drm-misc-next.

[1]
https://lore.kernel.org/dri-devel/20221208094727.2848310-1-maxime@cerno.tech/

Best Regards,
- Maíra Canal

On 12/11/22 02:30, Bagas Sanjaya wrote:
> kernel test robot reports htmldocs warning:
> 
> Documentation/gpu/vc4.rst:65: WARNING: Unexpected indentation.
> 
> The warning is due to missing blank line separator between KUnit mock
> driver sentence and its code block.
> 
> Add the separator to fix the warning.
> 
> Link: https://lore.kernel.org/linux-doc/202212102116.A10vg3jG-lkp@intel.com/
> Fixes: 5304c8e6010012 ("Documentation: gpu: vc4: Add KUnit Tests Section")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
> ---
>  Documentation/gpu/vc4.rst | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/gpu/vc4.rst b/Documentation/gpu/vc4.rst
> index a2375f1584e6d9..ec920c4f5bb322 100644
> --- a/Documentation/gpu/vc4.rst
> +++ b/Documentation/gpu/vc4.rst
> @@ -62,6 +62,7 @@ integration tests.
>  
>  These tests are using a mock driver and can be ran using the
>  command::
> +
>  	./tools/testing/kunit/kunit.py run \
>  		--kunitconfig=drivers/gpu/drm/vc4/tests/.kunitconfig \
>  		--cross_compile aarch64-linux-gnu- --arch arm64
> 
> base-commit: 612e241fb4bcd98d8ff9da7a795abb86b8ccfe38
  
Bagas Sanjaya Dec. 11, 2022, 12:44 p.m. UTC | #2
On 12/11/22 18:32, Maíra Canal wrote:
> I believe Maxime fixed this issue on [1], but it hasn't been yet merged
> into drm-misc-next.
> 
> [1]
> https://lore.kernel.org/dri-devel/20221208094727.2848310-1-maxime@cerno.tech/
> 

Ah! I don't see that!

Thanks anyway.
  

Patch

diff --git a/Documentation/gpu/vc4.rst b/Documentation/gpu/vc4.rst
index a2375f1584e6d9..ec920c4f5bb322 100644
--- a/Documentation/gpu/vc4.rst
+++ b/Documentation/gpu/vc4.rst
@@ -62,6 +62,7 @@  integration tests.
 
 These tests are using a mock driver and can be ran using the
 command::
+
 	./tools/testing/kunit/kunit.py run \
 		--kunitconfig=drivers/gpu/drm/vc4/tests/.kunitconfig \
 		--cross_compile aarch64-linux-gnu- --arch arm64