Re: [PATCH] x86/sgx: fix the return type of sgx_init

From
Jarkko Sakkinen <jarkko@kernel.org>
Date
2021-01-15 10:09:39
Reply to
Darren Kenny, 2021-01-14
On Thu, Jan 14, 2021 at 12:12:12PM +0000, Darren Kenny wrote:
On Wednesday, 2021-01-13 at 15:23:11 -08, Sami Tolvanen wrote:
quoted
device_initcall() expects a function of type initcall_t, which returns
an integer. Change the signature of sgx_init() to match.

Fixes: e7e0545299d8c ("x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections")
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Makes sense.

Reviewed-by: Darren Kenny <redacted>
I appended this. Thank you.

/Jarkko
Thread (6 messages) 6 messages, 4 authors, last reply 2021-01-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help