Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp767264iob; Wed, 18 May 2022 12:29:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzc3f7lBbcq3ep0rGr8QE/F8vR50ibuDMqZKyNmKQyLQLScFd/C+FFniE9aWBzRKwbmkPxB X-Received: by 2002:a17:903:20f:b0:158:d86a:f473 with SMTP id r15-20020a170903020f00b00158d86af473mr1201733plh.92.1652902191535; Wed, 18 May 2022 12:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652902191; cv=none; d=google.com; s=arc-20160816; b=f0zzXRLVFflseW8oL427D7RG6Wp8wMSInfvuaBmobs/mAcEmcEbwFmuHFDUO4Zre5X mR0PPj5+fZSQrHqiuPkkaogH13/ahivahfT5SYljtOZtu4rRLGRum1cUAeRGV/6wbuv5 h/pyjwo4DBYP8cRSx6LB/RlmTG+qkWaJkwNJyQxS/v2zPqkZJI5rUWr5sGT4uIdi0PVe JWhaP7h8Lq42uIJlFaHrGGBq0Q0/qq/eidUh56Kl3HsPIn5OMk63/dIG9ZDPg7MPTCug p8m0/Pj9HK+8fjdldqXIl5bR/pqCdl/fZi3OegscnlhIXn5Gf5P4dxSzpg3IOOZaX9F1 /pcg== 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:subject:cc:to:from:date :dkim-signature; bh=NwT6NzgJjhxmfhwcvbQBbXvrBnsmIvJ2mstF+fK28nc=; b=sLrr5EY5v2go2mJBvj4mLvWsnGSf2TvGU2p49cTYc8btojHiz7K8DDVcFN+AGIPAoJ iS4T+L0wJtnfZ78F6xKDnBytysMBIRJaEhbdm8sV1a1m4J3SDayI6Kv2EyItl4Bp2kN1 tQ9EUAgMvyrc+99W7S4pF2v20+9ztxamVZ2EFovfuCgSLm6DsJJLD0JOvcUgCQ6Y2NSg vgkUzkhANALneYlnfh5/xTjX9qxVkQTXFo6dc8pD6a2QLb4GyIT4awUIwROUGKuhpXKV oa/CDC0b2PAqn+Uq/W/5XKEmA/EyJLjUZkpcuS/X7/Yq6fDNX6MF7EKvECC+kzEdAz5B qJBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X7D6sKrk; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x15-20020aa784cf000000b005183825722fsi585270pfn.132.2022.05.18.12.29.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 12:29:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X7D6sKrk; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 380071BB996; Wed, 18 May 2022 12:29:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241919AbiERT3q (ORCPT + 71 others); Wed, 18 May 2022 15:29:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241906AbiERT3p (ORCPT ); Wed, 18 May 2022 15:29:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 083121BB995; Wed, 18 May 2022 12:29:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 908F3618E8; Wed, 18 May 2022 19:29:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E93BC385A5; Wed, 18 May 2022 19:29:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652902183; bh=NFU8Dltu1a3EaEm+eHHhfuxHSuzLiRVDVZT53zcHvbA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=X7D6sKrkOPrdyENXW9u6orQenvsNgVaFQtc5cMMOOCTA3yto3xW6SYCDN9UymdgF1 1UFPMc8Rik/Nit5xkIgfuPTL0nqgBRIVsaaAT4FAemdXTSjwINBcyA9G8jaRQKf/lX z5odB25vLm7lvtHsNWG4sgbQO8SHHKrhYy9lTETifApHcpIgZgbRWlCpAzBJW6QLm4 F1FHfMU5X3uRR9/tHCobVxm/saKn4lBvENFD5sjeHG0XGHJ+YvHeXBYPvjpVytpiHG qCPGgey4h1OWnbKhfHp/T6wCA59lPGU/0PcE17rMXwMdx4MO901ArtB7HrSPKcsDK7 pBLHrTKlOb3Sw== Date: Wed, 18 May 2022 12:29:40 -0700 From: Jakub Kicinski To: Johannes Berg Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, Stefan Schmidt , alex.aring@gmail.com, mareklindner@neomailbox.ch, sw@simonwunderlich.de, a@unstable.cc, sven@narfation.org, linux-wireless@vger.kernel.org, linux-wpan@vger.kernel.org Subject: Re: [PATCH net-next v2] net: ifdefy the wireless pointers in struct net_device Message-ID: <20220518122940.6f4da4a8@kernel.org> In-Reply-To: References: <20220518181807.2030747-1-kuba@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, 18 May 2022 20:59:21 +0200 Johannes Berg wrote: > Acked-by: Johannes Berg Thanks! > Do you want me to follow up with trying to union the pointer into > ml_priv? > > I prefer to union it rather than use ml_priv because we'll not want to > use the getter everywhere when we already know, only on the boundaries. Your call. Replacing all the direct references with a helper call could indeed be onerous.