lkml.org 
[lkml]   [2022]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5 3/3] x86/tdx: Add Quote generation support
From


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

\
 
 \ /
  Last update: 2022-05-02 18:07    [W:0.109 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site