Message ID | 20200529175407.2109-6-sean.j.christopherson@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | x86/sgx: Misc fixes for v31 | expand |
On Fri, May 29, 2020 at 10:54:06AM -0700, Sean Christopherson wrote: > Replace "Grab" with "Allocate" in the function comments for the EPC page > allocators. > > Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Neither can apply this to anything. /Jarkko
diff --git a/arch/x86/kernel/cpu/sgx/main.c b/arch/x86/kernel/cpu/sgx/main.c index 855b14237e7c4..ba5486a1ef6f4 100644 --- a/arch/x86/kernel/cpu/sgx/main.c +++ b/arch/x86/kernel/cpu/sgx/main.c @@ -505,7 +505,7 @@ static struct sgx_epc_page *__sgx_alloc_epc_page_from_section(struct sgx_epc_sec } /** - * __sgx_alloc_epc_page() - Grab a free EPC page + * __sgx_alloc_epc_page() - Allocate a free EPC page * * Iterate through EPC sections and borrow a free EPC page to the caller. When a * page is no longer needed it must be released with sgx_free_epc_page(). @@ -534,7 +534,7 @@ struct sgx_epc_page *__sgx_alloc_epc_page(void) } /** - * sgx_alloc_epc_page() - Grab a free EPC page + * sgx_alloc_epc_page() - Allocate a free EPC page * @owner: the owner of the EPC page * @reclaim: reclaim pages if necessary *
Replace "Grab" with "Allocate" in the function comments for the EPC page allocators. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> --- arch/x86/kernel/cpu/sgx/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)