Re: [PATCH] ALSA: docs: Fix code block indentation in ALSA driver example

From: Takashi Iwai
Date: Wed May 03 2023 - 02:09:08 EST


On Wed, 03 May 2023 05:54:16 +0200,
Bagas Sanjaya wrote:
>
> Sphinx reports htmldocs warnings:
>
> Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3997: WARNING: Literal block expected; none found.
> Documentation/sound/kernel-api/writing-an-alsa-driver.rst:4004: WARNING: Literal block expected; none found.
> Documentation/sound/kernel-api/writing-an-alsa-driver.rst:4009: WARNING: Unexpected indentation.
> Documentation/sound/kernel-api/writing-an-alsa-driver.rst:4035: WARNING: Literal block expected; none found.
>
> These are due to indentation of example driver snippets which is outside
> the code block scope.
>
> Fix these by indenting code blocks in question to the scope.
>
> Fixes: 4d421eebe1465d ("ALSA: docs: writing-an-alsa-driver.rst: polishing")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/linux-doc/202305021822.4U6XOvGf-lkp@xxxxxxxxx/
> Signed-off-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>

Thanks, applied.


Takashi