linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: trusted-encrypted: fix htmldocs build error
@ 2025-10-17 18:11 Gopi Krishna Menon
  2025-10-17 19:27 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Gopi Krishna Menon @ 2025-10-17 18:11 UTC (permalink / raw)
  To: zohar, James.Bottomley, jarkko, corbet
  Cc: Gopi Krishna Menon, linux-integrity, keyrings, linux-doc,
	linux-kernel, skhan, david.hunter.linux, linux-kernel-mentees,
	khalid

Running "make htmldocs" generates the following build error and
warning in trusted-encrypted.rst:

Documentation/security/keys/trusted-encrypted.rst:18: ERROR: Unexpected indentation.
Documentation/security/keys/trusted-encrypted.rst:19: WARNING: Block quote ends without a blank line; unexpected unindent.

Add a blank line before bullet list and fix the indentation of text to
fix the build error and resolve the warning.

Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
---

Tested by running "make htmldocs" before and after the change,
ensuring that output renders correctly in browsers.

 Documentation/security/keys/trusted-encrypted.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/security/keys/trusted-encrypted.rst b/Documentation/security/keys/trusted-encrypted.rst
index 2bcaaa7d119b..eae6a36b1c9a 100644
--- a/Documentation/security/keys/trusted-encrypted.rst
+++ b/Documentation/security/keys/trusted-encrypted.rst
@@ -14,10 +14,11 @@ Trusted Keys as Protected key
 =============================
 It is the secure way of keeping the keys in the kernel key-ring as Trusted-Key,
 such that:
+
 - Key-blob, an encrypted key-data, created to be stored, loaded and seen by
-            userspace.
+  userspace.
 - Key-data, the plain-key text in the system memory, to be used by
-            kernel space only.
+  kernel space only.
 
 Though key-data is not accessible to the user-space in plain-text, but it is in
 plain-text in system memory, when used in kernel space. Even though kernel-space
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: trusted-encrypted: fix htmldocs build error
  2025-10-17 18:11 [PATCH] docs: trusted-encrypted: fix htmldocs build error Gopi Krishna Menon
@ 2025-10-17 19:27 ` Randy Dunlap
  2025-10-18 11:24   ` Jarkko Sakkinen
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2025-10-17 19:27 UTC (permalink / raw)
  To: Gopi Krishna Menon, zohar, James.Bottomley, jarkko, corbet,
	Meenakshi Aggarwal, Pankaj Gupta, Herbert Xu
  Cc: linux-integrity, keyrings, linux-doc, linux-kernel, skhan,
	david.hunter.linux, linux-kernel-mentees, khalid

Adding patch signers.

Fixes: 95c46f40aac4 ("docs: trusted-encrypted: trusted-keys as protected keys")

although that might not matter if this patch is only in a -next tree.


On 10/17/25 11:11 AM, Gopi Krishna Menon wrote:
> Running "make htmldocs" generates the following build error and
> warning in trusted-encrypted.rst:
> 
> Documentation/security/keys/trusted-encrypted.rst:18: ERROR: Unexpected indentation.
> Documentation/security/keys/trusted-encrypted.rst:19: WARNING: Block quote ends without a blank line; unexpected unindent.
> 
> Add a blank line before bullet list and fix the indentation of text to
> fix the build error and resolve the warning.
> 
> Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>

> ---
> 
> Tested by running "make htmldocs" before and after the change,
> ensuring that output renders correctly in browsers.
> 
>  Documentation/security/keys/trusted-encrypted.rst | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/security/keys/trusted-encrypted.rst b/Documentation/security/keys/trusted-encrypted.rst
> index 2bcaaa7d119b..eae6a36b1c9a 100644
> --- a/Documentation/security/keys/trusted-encrypted.rst
> +++ b/Documentation/security/keys/trusted-encrypted.rst
> @@ -14,10 +14,11 @@ Trusted Keys as Protected key
>  =============================
>  It is the secure way of keeping the keys in the kernel key-ring as Trusted-Key,
>  such that:
> +
>  - Key-blob, an encrypted key-data, created to be stored, loaded and seen by
> -            userspace.
> +  userspace.
>  - Key-data, the plain-key text in the system memory, to be used by
> -            kernel space only.
> +  kernel space only.
>  
>  Though key-data is not accessible to the user-space in plain-text, but it is in
>  plain-text in system memory, when used in kernel space. Even though kernel-space

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: trusted-encrypted: fix htmldocs build error
  2025-10-17 19:27 ` Randy Dunlap
@ 2025-10-18 11:24   ` Jarkko Sakkinen
  0 siblings, 0 replies; 3+ messages in thread
From: Jarkko Sakkinen @ 2025-10-18 11:24 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Gopi Krishna Menon, zohar, James.Bottomley, corbet,
	Meenakshi Aggarwal, Pankaj Gupta, Herbert Xu, linux-integrity,
	keyrings, linux-doc, linux-kernel, skhan, david.hunter.linux,
	linux-kernel-mentees, khalid

On Fri, Oct 17, 2025 at 12:27:43PM -0700, Randy Dunlap wrote:
> Adding patch signers.
> 
> Fixes: 95c46f40aac4 ("docs: trusted-encrypted: trusted-keys as protected keys")
> 
> although that might not matter if this patch is only in a -next tree.
> 
> 
> On 10/17/25 11:11 AM, Gopi Krishna Menon wrote:
> > Running "make htmldocs" generates the following build error and
> > warning in trusted-encrypted.rst:
> > 
> > Documentation/security/keys/trusted-encrypted.rst:18: ERROR: Unexpected indentation.
> > Documentation/security/keys/trusted-encrypted.rst:19: WARNING: Block quote ends without a blank line; unexpected unindent.
> > 
> > Add a blank line before bullet list and fix the indentation of text to
> > fix the build error and resolve the warning.
> > 
> > Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
> 
> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
> Tested-by: Randy Dunlap <rdunlap@infradead.org>

Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>

BR, Jarkko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-18 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-17 18:11 [PATCH] docs: trusted-encrypted: fix htmldocs build error Gopi Krishna Menon
2025-10-17 19:27 ` Randy Dunlap
2025-10-18 11:24   ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).