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 61D633C6B4; Tue, 17 Oct 2023 08:58:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OZmMzkaT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA962C433C9; Tue, 17 Oct 2023 08:58:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697533096; bh=ai4SUF4E5CkgY9PAcDU6r0weDFiwnBjcYowBmrlv3lU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OZmMzkaThqW4ml7KX+DSLpxf5Riq/6HRRf1y+pDlc6bVlVgkj5HJnQWmRl5S9+5Yr Ceu0/hDxJPbxeK0KyucKWMTRHl/fIZAnOvNYH/Hn8vkEL54evdkj+5Ve5nmfW6Ebjn 2q0qb2olb3hNPy5hnSgCIY/DtBBB1scf8IGiD8J1ZCPMvJD+cIp7NeLABFdr77AKJr 5dP7LzQu2h2VYzfCh7Sy8viaxjLfYsrh7DAU79PSmgJeYkLyyepqFQIuioB7cr6Yg3 ZO47ij2TuOqLsq0ycH7JCpewBytdNDJmsdIqIgAjXkOLOBpCHZ8cQ+szSz2JNb5n02 Q0YgBAYQzuf5w== Date: Tue, 17 Oct 2023 10:58:13 +0200 From: Simon Horman To: Davide Caratti Cc: Matthieu Baerts , mptcp@lists.linux.dev, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Mat Martineau , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 4/6] uapi: mptcp: use header file generated from YAML spec Message-ID: <20231017085813.GP1751252@kernel.org> References: <20231010-upstream-net-next-20231006-mptcp-ynl-v1-0-18dd117e8f50@kernel.org> <20231010-upstream-net-next-20231006-mptcp-ynl-v1-4-18dd117e8f50@kernel.org> <20231013172823.GR29570@kernel.org> Precedence: bulk X-Mailing-List: netdev@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: On Sat, Oct 14, 2023 at 01:37:43PM +0200, Davide Caratti wrote: > hello Simon, thanks for reading! > > On Fri, Oct 13, 2023 at 7:30 PM Simon Horman wrote: > > > > On Tue, Oct 10, 2023 at 09:21:45PM +0200, Matthieu Baerts wrote: > > > From: Davide Caratti > > > > > > generated with: > > > > > > $ ./tools/net/ynl/ynl-gen-c.py --mode uapi \ > > > > --spec Documentation/netlink/specs/mptcp.yaml \ > > > > --header -o include/uapi/linux/mptcp_pm.h > > [...] > > > > +/** > > > + * enum mptcp_event_type > > > > Hi Davide and Matthieu, > > > > I understand that is autogenerated. > > But it is missing an entry here for @MPTCP_EVENT_UNSPEC. > > Can that be addressed somehow? > > probably it just needs > doc: unused event > > in the YAML file, I will add it and regenerate the uAPI header Thanks!