[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.21.2112140952100.20187@pobox.suse.cz>
Date: Tue, 14 Dec 2021 09:54:42 +0100 (CET)
From: Miroslav Benes <mbenes@...e.cz>
To: Petr Mladek <pmladek@...e.com>
cc: David Vernet <void@...ifault.com>, linux-doc@...r.kernel.org,
live-patching@...r.kernel.org, linux-kernel@...r.kernel.org,
jpoimboe@...hat.com, jikos@...nel.org, joe.lawrence@...hat.com,
corbet@....net, yhs@...com, songliubraving@...com
Subject: Re: [PATCH] Documentation: livepatch: Add kernel-doc link to
klp_enable_patch
> From this POV, I suggest to create Documentation/livepatch/API.rst
> and add there the documentation generated from the sources. I mean
> something like:
>
> Documentation/core-api/kernel-api.rst
>
> that results into
>
> https://www.kernel.org/doc/html/latest/core-api/kernel-api.html
>
>
> The livepatch/API.rst might include documentation from
>
> include/linux/livepatch.h
> kernel/livepatch/code.c
> kernel/livepatch/shadow.c
> kernel/livepatch/state.c
>
>
> But let's wait if there are other opinions from another livepatch
> developers.
Yes, please. Do not include anything generated from the source into our
"hand-written" documentation. Or at least not like the proposed patch. It
breaks it as Petr pointed out. A separate API file sounds better to me.
Regards
Miroslav
Powered by blists - more mailing lists