Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2974113pxb; Mon, 17 Jan 2022 09:16:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxix3bqtiSo7LSoJqbT+qi+yAJsGCnA2aV2koKOz2WpAar3vq9Ljb1IX0pqIh8/QPLwrOMP X-Received: by 2002:a17:902:dac7:b0:14a:537b:db2a with SMTP id q7-20020a170902dac700b0014a537bdb2amr23419823plx.3.1642439764712; Mon, 17 Jan 2022 09:16:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642439764; cv=none; d=google.com; s=arc-20160816; b=r3LAmtScBqB1V844Q/I7B0qFTMG++qm0A5K+hhLeM2a0uG5sGwSjvQWhO5cuAJIYPd xtzCzVchWN/7KvpbitBJfVFeIhr7EsVFuLczrD2MP/hq29hgaeXrgy05jn4uPiVyV5+B rcVebFzs1+3/dMst00ekWCW57VRszvCqzF7HytmdOIYhiffvq5nPMHOz4Q9B9oo2vnVb H0GU3uxaYZcB8tabZtC68mnoFauwZPb+R1HWc5CFAcFJNIlOyAQxCAwEdaGusOqhf9wo g6hoxmw7q+hFHuxZYJVBaWnyB1WkoKarNqBde+Vot6tom9NpRLcoj36QT2BnTuQOyNsh YPnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=mM/mg8OixknFIVtyIFqjYeWL9NHeS5J0Jyu3B0zkO8I=; b=pR6Ui3mBPKRbvcxO32wKHb3Vpy2ReWB0zzV++U4ziHBGh4Q4yRUgZZ+SpKVWrdAzvP KucF7BRPCTgkeRw/uxlJFanydcaOx1UqVQxCL1jLcZnGwJXwEToe96ZFwu71Jeuj/WXI OLEbsx4X9LG+qbm4uBTA1Ap3a2fzvAZjqDB4p6rt7luRHUjC6Ep34vTsz8vyCgzodwXP YjLUSmNR+CAp3ZKQwlEKewclOJfTKfujD/qz7JOPSE6UG59+wmaOsEXAkOH1Sso3EHFX whNuhphqdAcwFIqZJENcctNORZB/zTGBDYDR5V/nBXIVq+XoQxGl/dE5PsYVFRvZLPhW aQew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f26si14714275pgb.683.2022.01.17.09.15.55; Mon, 17 Jan 2022 09:16:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239383AbiAQLze (ORCPT + 70 others); Mon, 17 Jan 2022 06:55:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239362AbiAQLzM (ORCPT ); Mon, 17 Jan 2022 06:55:12 -0500 Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [IPv6:2001:4b98:dc4:8::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36A4FC06173E; Mon, 17 Jan 2022 03:55:11 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id EA4B620000B; Mon, 17 Jan 2022 11:55:07 +0000 (UTC) From: Miquel Raynal To: Alexander Aring , Stefan Schmidt , linux-wpan@vger.kernel.org Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org, David Girault , Romuald Despres , Frederic Blain , Nicolas Schodet , Michael Hennerich , Jakub Kicinski , Varka Bhadram , Xue Liu , Alan Ott , Thomas Petazzoni , Miquel Raynal Subject: [PATCH v3 13/41] net: ieee802154: Move the address structure earlier Date: Mon, 17 Jan 2022 12:54:12 +0100 Message-Id: <20220117115440.60296-14-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220117115440.60296-1-miquel.raynal@bootlin.com> References: <20220117115440.60296-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: David Girault Move the address structure earlier in the cfg802154.h header in order to use it in subsequent additions. There is no functional change here. Signed-off-by: David Girault [miquel.raynal@bootlin.com: Isolate this change from a bigger commit] Signed-off-by: Miquel Raynal --- include/net/cfg802154.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h index 4491e2724ff2..4193c242d96e 100644 --- a/include/net/cfg802154.h +++ b/include/net/cfg802154.h @@ -29,6 +29,15 @@ struct ieee802154_llsec_key_id; struct ieee802154_llsec_key; #endif /* CONFIG_IEEE802154_NL802154_EXPERIMENTAL */ +struct ieee802154_addr { + u8 mode; + __le16 pan_id; + union { + __le16 short_addr; + __le64 extended_addr; + }; +}; + struct cfg802154_ops { struct net_device * (*add_virtual_intf_deprecated)(struct wpan_phy *wpan_phy, const char *name, @@ -277,15 +286,6 @@ static inline void wpan_phy_net_set(struct wpan_phy *wpan_phy, struct net *net) write_pnet(&wpan_phy->_net, net); } -struct ieee802154_addr { - u8 mode; - __le16 pan_id; - union { - __le16 short_addr; - __le64 extended_addr; - }; -}; - struct ieee802154_llsec_key_id { u8 mode; u8 id; -- 2.27.0