[PATCH v2] uapi: update headers to v6.19
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Oct 1 16:12:39 CEST 2026
On Thu, Oct 1, 2026 at 11:06 AM David Marchand <david.marchand at redhat.com>
wrote:
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
>
> This patch updates imported UAPI headers to v6.19, in order
> to exercise the new compatibility define for __counted_by.
>
> Since __counted_by is introduced by linux/stddef.h we need to import it,
> and the headers, included by already imported headers, leading to its
> inclusion.
>
> One complication is that linux/types.h contains a guard that must be
> sanitized using the same method as the Linux kernel.
> For this, add a dependency on the unifdef tool.
>
> We also need to fix net/nbl which does not include the VFIO uapi header
> first.
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
> Changes since v1:
> - dropped wrapper on __counted_by,
> - updated import process and added use of unidef,
> - fixed net/nbl driver,
> - imported needed uapi headers,
>
> ---
> devtools/linux-uapi.sh | 6 ++
> doc/guides/contributing/linux_uapi.rst | 2 +
> drivers/net/nbl/nbl_common/nbl_userdev.c | 3 +-
> kernel/linux/uapi/linux/posix_types.h | 38 ++++++++++++
> kernel/linux/uapi/linux/stddef.h | 74 ++++++++++++++++++++++++
> kernel/linux/uapi/linux/types.h | 58 +++++++++++++++++++
> kernel/linux/uapi/linux/vduse.h | 4 +-
> kernel/linux/uapi/linux/vfio.h | 42 +++++++++++++-
> kernel/linux/uapi/version | 2 +-
> 9 files changed, 223 insertions(+), 6 deletions(-)
> create mode 100644 kernel/linux/uapi/linux/posix_types.h
> create mode 100644 kernel/linux/uapi/linux/stddef.h
> create mode 100644 kernel/linux/uapi/linux/types.h
>
>
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks!
Maxime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20261001/9354f3fc/attachment.htm>
More information about the dev
mailing list