Re: [PATCH v5 3/3] x86/tdx: Add Quote generation support

From: Sathyanarayanan Kuppuswamy
Date: Mon May 02 2022 - 12:06:40 EST




On 5/2/22 6:16 AM, Wander Lairson Costa wrote:
IIUC, ret has a positive value at this point, due to the call to
wait_for_completion_interruptible, so we need add "ret = 0;"
here, don't we?

It looks wait_for_completion_interruptible() return 0 on successful
completion. So I think I need to change ret <=0 to ret < 0.

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer