From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B116F355050; Tue, 18 Nov 2025 15:17:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763479047; cv=none; b=vF75L4gS/7dnM05N1XlLWYZNWImWrCYkKb0GCty4o/SDElYMms1oVV01ywWOxfO0Pg7bbltgHMqmb7Fn5A5Y4MPxgjRmj/Q1n/oR/X5MSKqP5FiIElPzpeabp8Pidr/ePiticVoJ5TYs6rruF5/bELaGh+WfxNRJiR0Fq3EJugE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763479047; c=relaxed/simple; bh=Qd/Dw1XSW4/UtD1vVIppFQ7k696F5SfWLuWpwgU5Be4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A8ShzordU+x55qurYzY+grpQ4m0VuqlE0Y0JyqMinaKdOnfTpRhoHgeBaL/BnjPuifTWbDG0qFIdkxvfo5SJcA5ovxxGOIrAv5a4akUAlVVKyfTGE++mOfl8OWRWqhYi3HAlQIv9kff7Q5AFiaivyASRq6J/Nwv59YKlQK7+Rpc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=AKYDQIwL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="AKYDQIwL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0071EC116D0; Tue, 18 Nov 2025 15:17:25 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="AKYDQIwL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1763479044; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uhDcgp2F0+Ob9aaLUyNKyb9g3TlinvuDBZqNJsuWEOw=; b=AKYDQIwLbcw6eAuvJbHAIG8dKoTmVe0Fo7cmSQ16i/m74o5FjD2n91R+3Tx9qhuIr0C6K2 dBJvkrdV56B0dflK4jIcBU3NcY8FS3zkJZBUJfKkZokfQ+OwiHCOwNi4mRCJEMcvIsHQZY cR1Txv2x1WVR0KpDfEGhpSaj+VYtZwo= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 4c36a217 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 18 Nov 2025 15:17:24 +0000 (UTC) Date: Tue, 18 Nov 2025 16:17:21 +0100 From: "Jason A. Donenfeld" To: =?utf-8?Q?Asbj=C3=B8rn_Sloth_T=C3=B8nnesen?= Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Donald Hunter , Simon Horman , Jacob Keller , Andrew Lunn , wireguard@lists.zx2c4.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jordan Rife Subject: Re: [PATCH net-next v3 07/11] uapi: wireguard: generate header with ynl-gen Message-ID: References: <20251105183223.89913-1-ast@fiberby.net> <20251105183223.89913-8-ast@fiberby.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20251105183223.89913-8-ast@fiberby.net> 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 . 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