linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: ccp: Fix sev_issue_cmd code block
@ 2024-02-04 11:06 Bagas Sanjaya
  2024-02-04 11:26 ` Borislav Petkov
  0 siblings, 1 reply; 3+ messages in thread
From: Bagas Sanjaya @ 2024-02-04 11:06 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation, Linux Next Mailing List
  Cc: Jonathan Corbet, Borislav Petkov (AMD),
	Michael Roth, Dionna Glaze, Brijesh Singh, Ashish Kalra,
	Peter Gonda, Tom Lendacky, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, Peter Zijlstra, Bagas Sanjaya, Stephen Rothwell

Stephen Rothwell reports htmldocs warnings when merging tip tree:

Documentation/virt/coco/sev-guest.rst:75: WARNING: Inline emphasis start-string without end-string.
Documentation/virt/coco/sev-guest.rst:78: WARNING: Inline emphasis start-string without end-string.
Documentation/virt/coco/sev-guest.rst:81: WARNING: Inline emphasis start-string without end-string.
Documentation/virt/coco/sev-guest.rst:83: WARNING: Definition list ends without a blank line; unexpected unindent.

sev_issue_cmd struct code block has unindented block marker, hence above
warnings. Fix the marker by appending it instead at the end of preceding
paragraph to silence these warnings.

Fixes: f5db8841ebe59d ("crypto: ccp: Add the SNP_PLATFORM_STATUS command")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20240202145932.31c62fd6@canb.auug.org.au/
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/virt/coco/sev-guest.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/virt/coco/sev-guest.rst b/Documentation/virt/coco/sev-guest.rst
index 14c9de997b7d34..ab3ccfd5b54838 100644
--- a/Documentation/virt/coco/sev-guest.rst
+++ b/Documentation/virt/coco/sev-guest.rst
@@ -68,9 +68,8 @@ counter (e.g. counter overflow), then -EIO will be returned.
         };
 
 The host ioctls are issued to a file descriptor of the /dev/sev device.
-The ioctl accepts the command ID/input structure documented below.
+The ioctl accepts the command ID/input structure documented below::
 
-::
         struct sev_issue_cmd {
                 /* Command ID */
                 __u32 cmd;

base-commit: 00bd91c99f9e8b4bb6b65c45598fbf426e1f1b53
-- 
An old man doll... just what I always wanted! - Clara


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

* Re: [PATCH] crypto: ccp: Fix sev_issue_cmd code block
  2024-02-04 11:06 [PATCH] crypto: ccp: Fix sev_issue_cmd code block Bagas Sanjaya
@ 2024-02-04 11:26 ` Borislav Petkov
  2024-02-04 13:34   ` Bagas Sanjaya
  0 siblings, 1 reply; 3+ messages in thread
From: Borislav Petkov @ 2024-02-04 11:26 UTC (permalink / raw)
  To: Bagas Sanjaya
  Cc: Linux Kernel Mailing List, Linux Documentation,
	Linux Next Mailing List, Jonathan Corbet, Michael Roth,
	Dionna Glaze, Brijesh Singh, Ashish Kalra, Peter Gonda,
	Tom Lendacky, Thomas Gleixner, Ingo Molnar, H. Peter Anvin,
	Peter Zijlstra, Stephen Rothwell

On Sun, Feb 04, 2024 at 06:06:04PM +0700, Bagas Sanjaya wrote:
> Stephen Rothwell reports htmldocs warnings when merging tip tree:
> 
> Documentation/virt/coco/sev-guest.rst:75: WARNING: Inline emphasis start-string without end-string.
> Documentation/virt/coco/sev-guest.rst:78: WARNING: Inline emphasis start-string without end-string.
> Documentation/virt/coco/sev-guest.rst:81: WARNING: Inline emphasis start-string without end-string.
> Documentation/virt/coco/sev-guest.rst:83: WARNING: Definition list ends without a blank line; unexpected unindent.
> 
> sev_issue_cmd struct code block has unindented block marker, hence above
> warnings. Fix the marker by appending it instead at the end of preceding
> paragraph to silence these warnings.
> 
> Fixes: f5db8841ebe59d ("crypto: ccp: Add the SNP_PLATFORM_STATUS command")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: https://lore.kernel.org/linux-next/20240202145932.31c62fd6@canb.auug.org.au/
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
> ---
>  Documentation/virt/coco/sev-guest.rst | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

https://git.kernel.org/tip/1bfca8d2800ab5ef0dfed335a2a29d1632c99411

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

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

* Re: [PATCH] crypto: ccp: Fix sev_issue_cmd code block
  2024-02-04 11:26 ` Borislav Petkov
@ 2024-02-04 13:34   ` Bagas Sanjaya
  0 siblings, 0 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2024-02-04 13:34 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Linux Kernel Mailing List, Linux Documentation,
	Linux Next Mailing List, Jonathan Corbet, Michael Roth,
	Dionna Glaze, Brijesh Singh, Ashish Kalra, Peter Gonda,
	Tom Lendacky, Thomas Gleixner, Ingo Molnar, H. Peter Anvin,
	Peter Zijlstra, Stephen Rothwell

On 2/4/24 18:26, Borislav Petkov wrote:
> On Sun, Feb 04, 2024 at 06:06:04PM +0700, Bagas Sanjaya wrote:
>> Stephen Rothwell reports htmldocs warnings when merging tip tree:
>>
>> Documentation/virt/coco/sev-guest.rst:75: WARNING: Inline emphasis start-string without end-string.
>> Documentation/virt/coco/sev-guest.rst:78: WARNING: Inline emphasis start-string without end-string.
>> Documentation/virt/coco/sev-guest.rst:81: WARNING: Inline emphasis start-string without end-string.
>> Documentation/virt/coco/sev-guest.rst:83: WARNING: Definition list ends without a blank line; unexpected unindent.
>>
>> sev_issue_cmd struct code block has unindented block marker, hence above
>> warnings. Fix the marker by appending it instead at the end of preceding
>> paragraph to silence these warnings.
>>
>> Fixes: f5db8841ebe59d ("crypto: ccp: Add the SNP_PLATFORM_STATUS command")
>> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
>> Closes: https://lore.kernel.org/linux-next/20240202145932.31c62fd6@canb.auug.org.au/
>> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
>> ---
>>  Documentation/virt/coco/sev-guest.rst | 3 +--
>>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> https://git.kernel.org/tip/1bfca8d2800ab5ef0dfed335a2a29d1632c99411
> 

Oops, I didn't see that commit when I was submitting. Thanks
anyway.

-- 
An old man doll... just what I always wanted! - Clara


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

end of thread, other threads:[~2024-02-04 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-04 11:06 [PATCH] crypto: ccp: Fix sev_issue_cmd code block Bagas Sanjaya
2024-02-04 11:26 ` Borislav Petkov
2024-02-04 13:34   ` Bagas Sanjaya

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).