]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
docs: printk-formats: fix build warning
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 22 Jul 2021 10:03:53 +0000 (13:03 +0300)
committerJonathan Corbet <corbet@lwn.net>
Sun, 25 Jul 2021 20:34:32 +0000 (14:34 -0600)
Add an empty line after the '::' starting the code block so that the
following lines are properly interpreted.

Without this, the following build warnings are visible.

Documentation/core-api/printk-formats.rst:136: WARNING: Unexpected indentation.
Documentation/core-api/printk-formats.rst:137: WARNING: Block quote ends without a blank line; unexpected unindent.

Fixes: 9294523e3768 ("module: add printk formats to add module build ID to stacktraces")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210722100356.635078-2-ciorneiioana@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/printk-formats.rst

index d941717a191be97b2374cca40ec31b8f77bf46ee..e08bbe9b0cbf33918b37967c10e5fb13d517ddcb 100644 (file)
@@ -130,6 +130,7 @@ printed after the symbol name with an extra ``b`` appended to the end of the
 specifier.
 
 ::
+
        %pS     versatile_init+0x0/0x110 [module_name]
        %pSb    versatile_init+0x0/0x110 [module_name ed5019fdf5e53be37cb1ba7899292d7e143b259e]
        %pSRb   versatile_init+0x9/0x110 [module_name ed5019fdf5e53be37cb1ba7899292d7e143b259e]