Messages in this thread | | | Date | Mon, 2 May 2022 09:05:46 -0700 | Subject | Re: [PATCH v5 3/3] x86/tdx: Add Quote generation support | From | Sathyanarayanan Kuppuswamy <> |
| |
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
| |