Re: [PATCH v4 03/30] UAPI: x86: Move pvclock-abi to UAPI for x86 platforms
From: David Woodhouse
Date: Tue May 19 2026 - 04:04:04 EST
On Tue, 2026-05-19 at 00:35 -0700, Dongli Zhang wrote:
> I have encountered below build warning.
>
> Perhaps it is because of PATCH 03?
>
Almost certainly; I'll clean it up. Thank you.
> In file included from ./include/linux/types.h:5,
> from ./arch/x86/include/uapi/asm/pvclock-abi.h:5,
> from ./arch/x86/include/asm/xen/interface.h:197,
> from ./include/xen/interface/xen.h:13,
> from <command-line>:
> ./include/uapi/linux/types.h:10:2: warning: #warning "Attempt to use kernel
> headers from user space, see https://kernelnewbies.org/KernelHeaders" [-Wcpp]
> 10 | #warning "Attempt to use kernel headers from user space, see
> https://kernelnewbies.org/KernelHeaders"
> | ^~~~~~~
Attachment:
smime.p7s
Description: S/MIME cryptographic signature