On Wed, Aug 07, 2019 at 05:12:52PM -0700, Sean Christopherson wrote: > Refactor sgx_encl_add_page() and sgx_encl_create() to prepare for > changes to sgx_encl_grow() that will introduce additional error paths. > Neither approach scales well as is, and it'll help readability for both > flows to use similar style error handling. > > No functional change intended. > > Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> Acked-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> /Jarkko