lkml.org 
[lkml]   [2023]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v11 02/20] x86/virt/tdx: Detect TDX during kernel boot
Date
On Tue, 2023-06-06 at 07:00 -0700, Sathyanarayanan Kuppuswamy wrote:
> > + if (nr_tdx_keyids < 2) {
> > + pr_info("initialization failed: too few private KeyIDs
> > available.\n");
> > + goto no_tdx;
>
> I think you can return -ENODEV directly here. Maybe this goto is added to
> adapt to next
> patches. But for this patch, I don't think you need it.

OK I can do. Thanks.
\
 
 \ /
  Last update: 2023-06-07 00:59    [W:0.503 / U:2.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site