From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] netlink: add nl_set_extack_cookie_u64() Date: Thu, 23 Aug 2018 08:45:10 -0700 (PDT) Message-ID: <20180823.084510.864066255490001088.davem@davemloft.net> References: <20180823084813.5727-1-johannes@sipsolutions.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, johannes.berg@intel.com To: johannes@sipsolutions.net Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:51070 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728082AbeHWTP2 (ORCPT ); Thu, 23 Aug 2018 15:15:28 -0400 In-Reply-To: <20180823084813.5727-1-johannes@sipsolutions.net> Sender: netdev-owner@vger.kernel.org List-ID: From: Johannes Berg Date: Thu, 23 Aug 2018 10:48:13 +0200 > From: Johannes Berg > > Add a helper function nl_set_extack_cookie_u64() to use a u64 as > the netlink extended ACK cookie, to avoid having to open-code it > in any users of the cookie. > > A u64 should be sufficient for most subsystems though we allow > for up to 20 bytes right now. This also matches the cookies in > nl80211 where I intend to use this. > > Signed-off-by: Johannes Berg Feel free to merge this in your wireless tree since the first user will be there. Acked-by: David S. Miller