diff options
author | Sami Tolvanen <[email protected]> | 2021-01-13 15:23:11 -0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2021-01-21 14:04:06 +0100 |
commit | 31bf92881714fe9962d43d097b5114a9b4ad0a12 (patch) | |
tree | 198a2095bb4efd9d3af4b621aca90acecbfcee86 /net/unix/unix_bpf.c | |
parent | 7c53f6b671f4aba70ff15e1b05148b10d58c2837 (diff) |
x86/sgx: Fix the return type of sgx_init()
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 <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Darren Kenny <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions