lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0b9aeaf886d9b282ef8397d017f1e67c0ceb6a30.camel@intel.com>
Date: Sun, 16 Nov 2025 09:37:00 +0000
From: "Huang, Kai" <kai.huang@...el.com>
To: "rdunlap@...radead.org" <rdunlap@...radead.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "linux-sgx@...r.kernel.org" <linux-sgx@...r.kernel.org>,
	"jarkko@...nel.org" <jarkko@...nel.org>, "dave.hansen@...ux.intel.com"
	<dave.hansen@...ux.intel.com>, "x86@...nel.org" <x86@...nel.org>
Subject: Re: [PATCH] x86/sgx: fix enum kernel-doc notation

On Fri, 2025-11-14 at 21:54 -0800, Randy Dunlap wrote:
> Use "@name" instead of "%name" to describe members of an enum. This
> prevents a kernel-doc warning:
> 
> WARNING: arch/x86/include/uapi/asm/sgx.h:17 Enum value
>  'SGX_PAGE_MEASURE' not described in enum 'sgx_page_flags'
> 
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> ---
> Cc: Jarkko Sakkinen <jarkko@...nel.org>
> Cc: Dave Hansen <dave.hansen@...ux.intel.com>
> Cc: linux-sgx@...r.kernel.org
> Cc: x86@...nel.org
> ---
>  arch/x86/include/uapi/asm/sgx.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-next-20251114.orig/arch/x86/include/uapi/asm/sgx.h
> +++ linux-next-20251114/arch/x86/include/uapi/asm/sgx.h
> @@ -10,7 +10,7 @@
>  
>  /**
>   * enum sgx_page_flags - page control flags
> - * %SGX_PAGE_MEASURE:	Measure the page contents with a sequence of
> + * @SGX_PAGE_MEASURE:	Measure the page contents with a sequence of
>   *			ENCLS[EEXTEND] operations.
>   */
>  enum sgx_page_flags {

This has been addressed in Sean's patch:

https://lore.kernel.org/linux-sgx/20251112160708.1343355-4-seanjc@google.com/

And it has been merged to tip tree.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ