> -----Original Message----- > From: Huang, Kai <[email protected]> > Sent: Friday, August 15, 2025 1:31 AM > To: Reshetova, Elena <[email protected]>; Hansen, Dave > <[email protected]> > Cc: [email protected]; [email protected]; Scarlata, Vincent R > <[email protected]>; [email protected]; [email protected]; > Annapurve, Vishal <[email protected]>; [email protected]; > Mallick, Asit K <[email protected]>; Aktas, Erdem > <[email protected]>; Cai, Chong <[email protected]>; Bondarevska, > Nataliia <[email protected]>; [email protected]; Raynor, Scott > <[email protected]> > Subject: Re: [PATCH v14 4/5] x86/sgx: Implement ENCLS[EUPDATESVN] > > > > > > > > > > > > > + * Return: > > > > + * * %0: - Success or not supported > > > > + * * %-EAGAIN: - Can be safely retried, failure is due to lack > > > > of > > > > + * * entropy in RNG > > > > > > Nit: if another version is ever needed, I think it would be better to make > > > the text vertical aligned w/o the leading '-', i.e., > > > > > > * %-EAGAIN: - Can be .... > > > entropy in RNG. > > > > > > .. instead of > > > > > > * %-EAGAIN: - Can be .... > > > entropy in RNG. > > > > OK, yes, this can be fixed, indeed. > > > > I downloaded those patches and checked locally. I found there's an > unnecessary 'tab' between the error codes and the descriptions, making the > whitespace between them unnecessarily too long. > > Please see below diff I came up with: > > diff --git a/arch/x86/kernel/cpu/sgx/main.c > b/arch/x86/kernel/cpu/sgx/main.c > index cff5c4d22ac2..c6467628da04 100644 > --- a/arch/x86/kernel/cpu/sgx/main.c > +++ b/arch/x86/kernel/cpu/sgx/main.c > @@ -929,10 +929,10 @@ static int sgx_usage_count; > * cryptographic assets. > * > * Return: > - * * %0: - Success or not supported > - * * %-EAGAIN: - Can be safely retried, failure is due to lack of > - * * entropy in RNG > - * * %-EIO: - Unexpected error, retries are not advisable > + * * %0: - Success or not supported > + * * %-EAGAIN: - Can be safely retried, failure is due to lack of > + * * entropy in RNG > + * * %-EIO: - Unexpected error, retries are not advisable > */ > static int sgx_update_svn(void) > {
Thank you, I will use will rendering!

