diff mbox series

x86/SGX: drop spurious kernel-doc notation

Message ID 20210627223639.27714-1-rdunlap@infradead.org (mailing list archive)
State New, archived
Headers show
Series x86/SGX: drop spurious kernel-doc notation | expand

Commit Message

Randy Dunlap June 27, 2021, 10:36 p.m. UTC
Drop mistaken kernel-doc notation where plain C comments
should be used instead.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jarkko Sakkinen <jarkko@kernel.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: linux-sgx@vger.kernel.org
---
 arch/x86/kernel/cpu/sgx/encl.h  |    2 +-
 arch/x86/kernel/cpu/sgx/encls.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Jarkko Sakkinen June 29, 2021, 8:22 p.m. UTC | #1
On Sun, Jun 27, 2021 at 03:36:39PM -0700, Randy Dunlap wrote:
> Drop mistaken kernel-doc notation where plain C comments
> should be used instead.
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Jarkko Sakkinen <jarkko@kernel.org>
> Cc: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: linux-sgx@vger.kernel.org

"x86/SGX" -> "x86/sgx"

Anyway,

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

> ---
>  arch/x86/kernel/cpu/sgx/encl.h  |    2 +-
>  arch/x86/kernel/cpu/sgx/encls.h |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> --- linux-next-20210625.orig/arch/x86/kernel/cpu/sgx/encl.h
> +++ linux-next-20210625/arch/x86/kernel/cpu/sgx/encl.h
> @@ -1,5 +1,5 @@
>  /* SPDX-License-Identifier: GPL-2.0 */
> -/**
> +/*
>   * Copyright(c) 2016-20 Intel Corporation.
>   *
>   * Contains the software defined data structures for enclaves.
> --- linux-next-20210625.orig/arch/x86/kernel/cpu/sgx/encls.h
> +++ linux-next-20210625/arch/x86/kernel/cpu/sgx/encls.h
> @@ -11,7 +11,7 @@
>  #include <asm/traps.h>
>  #include "sgx.h"
>  
> -/**
> +/*
>   * ENCLS_FAULT_FLAG - flag signifying an ENCLS return code is a trapnr
>   *
>   * ENCLS has its own (positive value) error codes and also generates
> 

/Jarkko
diff mbox series

Patch

--- linux-next-20210625.orig/arch/x86/kernel/cpu/sgx/encl.h
+++ linux-next-20210625/arch/x86/kernel/cpu/sgx/encl.h
@@ -1,5 +1,5 @@ 
 /* SPDX-License-Identifier: GPL-2.0 */
-/**
+/*
  * Copyright(c) 2016-20 Intel Corporation.
  *
  * Contains the software defined data structures for enclaves.
--- linux-next-20210625.orig/arch/x86/kernel/cpu/sgx/encls.h
+++ linux-next-20210625/arch/x86/kernel/cpu/sgx/encls.h
@@ -11,7 +11,7 @@ 
 #include <asm/traps.h>
 #include "sgx.h"
 
-/**
+/*
  * ENCLS_FAULT_FLAG - flag signifying an ENCLS return code is a trapnr
  *
  * ENCLS has its own (positive value) error codes and also generates