lkml.org 
[lkml]   [2024]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v19 030/130] KVM: TDX: Add helper functions to print TDX SEAMCALL error
    Date
    On Mon, 2024-02-26 at 00:25 -0800, isaku.yamahata@intel.com wrote:
    > --- /dev/null
    > +++ b/arch/x86/kvm/vmx/tdx_error.c
    > @@ -0,0 +1,21 @@
    > +// SPDX-License-Identifier: GPL-2.0
    > +/* functions to record TDX SEAMCALL error */
    > +
    > +#include <linux/kernel.h>
    > +#include <linux/bug.h>
    > +

    I don't see why the above two are needed, especially the giant
    <linux/kernel.h>.

    <linux/printk.h> should be sufficient for the current patch.
    \
     
     \ /
      Last update: 2024-04-24 13:06    [W:3.226 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site