On Mon Jul 17, 2023 at 6:53 PM UTC, Jarkko Sakkinen wrote:
On Mon Jul 17, 2023 at 6:17 PM UTC, Haitao Huang wrote:
+static struct sgx_epc_page *sgx_encl_load_secs(struct sgx_encl *encl) +{
- struct sgx_epc_page *epc_page = encl->secs.epc_page;
- if (!epc_page) {
epc_page = sgx_encl_eldu(&encl->secs, NULL);
- }
remove curly braces
And add an empty line before the return statement.
BR, Jarkko