[PATCH 4/5] x86/sgx: Remove superfluous asterisk from copyright comment in asm/sgx.h

Sean Christopherson posted 5 patches 2 months, 4 weeks ago
[PATCH 4/5] x86/sgx: Remove superfluous asterisk from copyright comment in asm/sgx.h
Posted by Sean Christopherson 2 months, 4 weeks ago
Drop an asterisk from a file-level copyright comment so that the comment
isn't intrepeted as a kernel-doc comment.

E.g. if arch/x86/include/asm/sgx.h is fed into kernel-doc processing:

  WARNING: ./arch/x86/include/asm/sgx.h:2 This comment starts with '/**',
  but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

Signed-off-by: Sean Christopherson <seanjc@google.com>
---
 arch/x86/include/asm/sgx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/sgx.h b/arch/x86/include/asm/sgx.h
index a88c4ab95edd..3c90cae04e1d 100644
--- a/arch/x86/include/asm/sgx.h
+++ b/arch/x86/include/asm/sgx.h
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-/**
+/*
  * Copyright(c) 2016-20 Intel Corporation.
  *
  * Intel Software Guard Extensions (SGX) support.
-- 
2.51.2.1041.gc1ab5b90ca-goog
Re: [PATCH 4/5] x86/sgx: Remove superfluous asterisk from copyright comment in asm/sgx.h
Posted by Jarkko Sakkinen 2 months, 3 weeks ago
On Wed, Nov 12, 2025 at 08:07:07AM -0800, Sean Christopherson wrote:
> Drop an asterisk from a file-level copyright comment so that the comment
> isn't intrepeted as a kernel-doc comment.
> 
> E.g. if arch/x86/include/asm/sgx.h is fed into kernel-doc processing:
> 
>   WARNING: ./arch/x86/include/asm/sgx.h:2 This comment starts with '/**',
>   but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
> 
> Signed-off-by: Sean Christopherson <seanjc@google.com>
> ---
>  arch/x86/include/asm/sgx.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/include/asm/sgx.h b/arch/x86/include/asm/sgx.h
> index a88c4ab95edd..3c90cae04e1d 100644
> --- a/arch/x86/include/asm/sgx.h
> +++ b/arch/x86/include/asm/sgx.h
> @@ -1,5 +1,5 @@
>  /* SPDX-License-Identifier: GPL-2.0 */
> -/**
> +/*
>   * Copyright(c) 2016-20 Intel Corporation.
>   *
>   * Intel Software Guard Extensions (SGX) support.
> -- 
> 2.51.2.1041.gc1ab5b90ca-goog
> 

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

BR, Jarkko
Re: [PATCH 4/5] x86/sgx: Remove superfluous asterisk from copyright comment in asm/sgx.h
Posted by Huang, Kai 2 months, 4 weeks ago
On Wed, 2025-11-12 at 08:07 -0800, Sean Christopherson wrote:
> Drop an asterisk from a file-level copyright comment so that the comment
> isn't intrepeted as a kernel-doc comment.
	^
	interpreted