lkml.org 
[lkml]   [2020]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 1/1] A compact idiom to add code examples in kerneldoc comments.
    On Thu, Mar 26, 2020 at 07:51:56PM +0000, peter@bikeshed.quignogs.org.uk wrote:
    > From: Peter Lister <peter@bikeshed.quignogs.org.uk>
    >
    > scripts/kernel-doc - When a double colon follows a section heading
    > (e.g. Example::), write a double colon line to the ReST output to make
    > the following text (e.g. a code snippet) into a literal block.
    >
    > drivers/base/platform.c - Changed Example: headings to Example:: to
    > literalise code snippets as above.
    >
    > This patch also removes two kerneldoc build warnings:
    > ./drivers/base/platform.c:134: WARNING: Unexpected indentation.
    > ./drivers/base/platform.c:213: WARNING: Unexpected indentation.
    >
    > Signed-off-by: Peter Lister <peter@bikeshed.quignogs.org.uk>
    > ---
    > drivers/base/platform.c | 4 ++--
    > scripts/kernel-doc | 19 +++++++++++++++----
    > 2 files changed, 17 insertions(+), 6 deletions(-)

    For the driver/base/platform.c change:

    Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    \
     
     \ /
      Last update: 2020-03-27 07:32    [W:2.138 / U:0.224 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site