lkml.org 
[lkml]   [2021]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()
From
Date
On 25/03/21 00:23, Kai Huang wrote:
> I changed to below (with slight modification on Paolo's):
>
> /* Error message for EREMOVE failure, when kernel is about to leak EPC page */
> #define EREMOVE_ERROR_MESSAGE \
> "EREMOVE returned %d (0x%x) and an EPC page was leaked. SGX may become unusuable. " \
> "This is likely a kernel bug. Refer to Documentation/x86/sgx.rst for more information."
>
> I got a checkpatch warning however:
>
> WARNING: It's generally not useful to have the filename in the file
> #60: FILE: Documentation/x86/sgx.rst:223:
> +This is likely a kernel bug. Refer to Documentation/x86/sgx.rst for more

Yeah, this is more or less a false positive.

Paolo

\
 
 \ /
  Last update: 2021-03-25 00:40    [W:0.236 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site