All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the tip tree
@ 2020-11-23  7:19 Stephen Rothwell
  2020-11-23 10:13 ` [PATCH] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment Borislav Petkov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephen Rothwell @ 2020-11-23  7:19 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
  Cc: Borislav Petkov, Jarkko Sakkinen, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

Hi all,

After merging the tip tree, today's linux-next build (htmldocs) produced
these warnings:

arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Function parameter or member 'encl' not described in 'sgx_ioc_enclave_provision'
arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Excess function parameter 'enclave' description in 'sgx_ioc_enclave_provision'

Introduced by commit

  c82c61865024 ("x86/sgx: Add SGX_IOC_ENCLAVE_PROVISION")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [PATCH] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment
  2020-11-23  7:19 linux-next: build warnings after merge of the tip tree Stephen Rothwell
@ 2020-11-23 10:13 ` Borislav Petkov
  2020-11-23 23:03 ` linux-next: build warnings after merge of the tip tree Jarkko Sakkinen
  2020-11-24 10:34 ` [tip: x86/sgx] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment tip-bot2 for Borislav Petkov
  2 siblings, 0 replies; 4+ messages in thread
From: Borislav Petkov @ 2020-11-23 10:13 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
	Jarkko Sakkinen, Linux Kernel Mailing List,
	Linux Next Mailing List

On Mon, Nov 23, 2020 at 06:19:22PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the tip tree, today's linux-next build (htmldocs) produced
> these warnings:
> 
> arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Function parameter or member 'encl' not described in 'sgx_ioc_enclave_provision'
> arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Excess function parameter 'enclave' description in 'sgx_ioc_enclave_provision'
> 
> Introduced by commit
> 
>   c82c61865024 ("x86/sgx: Add SGX_IOC_ENCLAVE_PROVISION")

---
From: Borislav Petkov <bp@suse.de>

Fix

  ./arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Function parameter or member \
	  'encl' not described in 'sgx_ioc_enclave_provision'
  ./arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Excess function parameter \
	  'enclave' description in 'sgx_ioc_enclave_provision'

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Borislav Petkov <bp@suse.de>
---
 arch/x86/kernel/cpu/sgx/ioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/sgx/ioctl.c b/arch/x86/kernel/cpu/sgx/ioctl.c
index 30aefc93a31d..c206aee80a04 100644
--- a/arch/x86/kernel/cpu/sgx/ioctl.c
+++ b/arch/x86/kernel/cpu/sgx/ioctl.c
@@ -652,7 +652,7 @@ static long sgx_ioc_enclave_init(struct sgx_encl *encl, void __user *arg)
 
 /**
  * sgx_ioc_enclave_provision() - handler for %SGX_IOC_ENCLAVE_PROVISION
- * @enclave:	an enclave pointer
+ * @encl:	an enclave pointer
  * @arg:	userspace pointer to a struct sgx_enclave_provision instance
  *
  * Allow ATTRIBUTE.PROVISION_KEY for an enclave by providing a file handle to
-- 
2.21.0

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg

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

* Re: linux-next: build warnings after merge of the tip tree
  2020-11-23  7:19 linux-next: build warnings after merge of the tip tree Stephen Rothwell
  2020-11-23 10:13 ` [PATCH] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment Borislav Petkov
@ 2020-11-23 23:03 ` Jarkko Sakkinen
  2020-11-24 10:34 ` [tip: x86/sgx] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment tip-bot2 for Borislav Petkov
  2 siblings, 0 replies; 4+ messages in thread
From: Jarkko Sakkinen @ 2020-11-23 23:03 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
	Borislav Petkov, Linux Kernel Mailing List,
	Linux Next Mailing List

On Mon, Nov 23, 2020 at 06:19:22PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the tip tree, today's linux-next build (htmldocs) produced
> these warnings:
> 
> arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Function parameter or member 'encl' not described in 'sgx_ioc_enclave_provision'
> arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Excess function parameter 'enclave' description in 'sgx_ioc_enclave_provision'
> 
> Introduced by commit
> 
>   c82c61865024 ("x86/sgx: Add SGX_IOC_ENCLAVE_PROVISION")
> 
> -- 
> Cheers,
> Stephen Rothwell

Thanks, was about sending a fix but saw that Boris put already one out,
when adding "Link: https://lore.kernel.org/linux-next/20201123101334.GC29678@zn.tnic/"

/Jarkko

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

* [tip: x86/sgx] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment
  2020-11-23  7:19 linux-next: build warnings after merge of the tip tree Stephen Rothwell
  2020-11-23 10:13 ` [PATCH] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment Borislav Petkov
  2020-11-23 23:03 ` linux-next: build warnings after merge of the tip tree Jarkko Sakkinen
@ 2020-11-24 10:34 ` tip-bot2 for Borislav Petkov
  2 siblings, 0 replies; 4+ messages in thread
From: tip-bot2 for Borislav Petkov @ 2020-11-24 10:34 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Stephen Rothwell, Borislav Petkov, x86, linux-kernel

The following commit has been merged into the x86/sgx branch of tip:

Commit-ID:     afe76eca862ccde2a0c30105fc97a46a0b59339b
Gitweb:        https://git.kernel.org/tip/afe76eca862ccde2a0c30105fc97a46a0b59339b
Author:        Borislav Petkov <bp@suse.de>
AuthorDate:    Mon, 23 Nov 2020 11:11:17 +01:00
Committer:     Borislav Petkov <bp@suse.de>
CommitterDate: Tue, 24 Nov 2020 10:46:01 +01:00

x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment

Fix

  ./arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Function parameter or member \
	  'encl' not described in 'sgx_ioc_enclave_provision'
  ./arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Excess function parameter \
	  'enclave' description in 'sgx_ioc_enclave_provision'

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201123181922.0c009406@canb.auug.org.au
---
 arch/x86/kernel/cpu/sgx/ioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/sgx/ioctl.c b/arch/x86/kernel/cpu/sgx/ioctl.c
index 30aefc9..c206aee 100644
--- a/arch/x86/kernel/cpu/sgx/ioctl.c
+++ b/arch/x86/kernel/cpu/sgx/ioctl.c
@@ -652,7 +652,7 @@ out:
 
 /**
  * sgx_ioc_enclave_provision() - handler for %SGX_IOC_ENCLAVE_PROVISION
- * @enclave:	an enclave pointer
+ * @encl:	an enclave pointer
  * @arg:	userspace pointer to a struct sgx_enclave_provision instance
  *
  * Allow ATTRIBUTE.PROVISION_KEY for an enclave by providing a file handle to

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23  7:19 linux-next: build warnings after merge of the tip tree Stephen Rothwell
2020-11-23 10:13 ` [PATCH] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment Borislav Petkov
2020-11-23 23:03 ` linux-next: build warnings after merge of the tip tree Jarkko Sakkinen
2020-11-24 10:34 ` [tip: x86/sgx] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment tip-bot2 for Borislav Petkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.