Re: [PATCH net-next v3 07/11] uapi: wireguard: generate header with ynl-gen

"Jason A. Donenfeld" <[email protected]>
Newsgroups com.zx2c4.lists.wireguard,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
On Wed, Nov 05, 2025 at 06:32:16PM +0000, Asbjørn Sloth Tønnesen wrote:
> Use ynl-gen to generate the UAPI header for wireguard.
> diff --git a/include/uapi/linux/wireguard.h b/include/uapi/linux/wireguard.h
> index a2815f4f2910..dc3924d0c552 100644
> --- a/include/uapi/linux/wireguard.h
> +++ b/include/uapi/linux/wireguard.h
> @@ -1,32 +1,28 @@
> -/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */
> -/*
> - * Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
> - */
> +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
> +/* Do not edit directly, auto-generated from: */
> +/*	Documentation/netlink/specs/wireguard.yaml */
> +/* YNL-GEN uapi header */

Same desire here -- can this get auto generated at compile time (or in
headers_install time).

Jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.