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

From: Jarkko Sakkinen
Date: Fri Jan 15 2021 - 05:09:52 EST


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:
> > 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@xxxxxxxxxx>
>
> Makes sense.
>
> Reviewed-by: Darren Kenny <darren.kenny@xxxxxxxxxx>

I appended this. Thank you.

/Jarkko