lkml.org 
[lkml]   [2023]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ALSA: docs: Fix code block indentation in ALSA driver example
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@intel.com>
> Closes: https://lore.kernel.org/linux-doc/202305021822.4U6XOvGf-lkp@intel.com/
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>

Thanks, applied.


Takashi

\
 
 \ /
  Last update: 2023-05-03 08:10    [W:0.032 / U:1.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site