Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp982389lqo; Thu, 9 May 2024 00:48:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVggoanQbdFbZwtHSHe6TjPS2vf40SpvCv74Y+bx/aqzSXpR0mZMBpy6l7I3BkRTEn86zp9TVWRhECAFsEanbVmyxKMFg4MsSxhCbnMmg== X-Google-Smtp-Source: AGHT+IGC6D9WC6RAjhbgHo/MDCgdm0bLopluH2zg7HsRQXedOEIj+XN70wBY756keMRHHVnjTgJ4 X-Received: by 2002:a17:906:b197:b0:a59:9f79:b242 with SMTP id a640c23a62f3a-a59fb9d11c4mr302567566b.66.1715240891601; Thu, 09 May 2024 00:48:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715240891; cv=pass; d=google.com; s=arc-20160816; b=kIYMPgO1xOmbr8rmE3GJV6V5G6sISVWFR/MZpB2MTshnKeeEy3v2i5xTz/0dEcuMN9 FiV3BHp4DbRfsQfzL7WYe3zVo9s+1MbkuO+tScyUD05DtcHVXNrJ4hoXffYNoPO0GDuk ZoltU67uenLjjAmEgxMIvDBCV63FEtlLPYkFgQfvIB+wxdsqvs8SdsHh0EbQ+ypDGrwX elY1vqPMn8pcgkeP0xfk6gYFu5Ve5I0L77uxKC52RWiWbxBDPdaU+LNMhA6h4joErjU8 zhrhhRdbZyLCeKx0w4xAZzfJvpvTSjHvVQ/DJrNkSfIGMlR02nm4XgeN2Z5YGE0+vx2B 7nEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=DxfOpPMsocBoDaEIN71vPXTKGsCKIeOGUMJaK6ulrpg=; fh=p486jju3B6andSUoI79Q4TKwbYa6lHluNDFHSmHQXHw=; b=bFQaXD2qQGekwR8FNypFM8PP4m0YgGFBgZDvVWFtLQZk7g8EFKtUvvohVbGTJMt4C0 LWGVQRauVsEEHT5t4xwbYO2Gjt7pDf4muEsrBrBtM6PBn28IR72NL+uy9D1DBACqZaBm oDjrN362IL4ngsoFg1dCiH1usGOGwtt9KVT5Pp782tsG6R1mQM7IYcGZorNsIiEm+fWt tM9QJI35zVS62tloMw4Y0r0OLPVMPI7zlWaDPKlWyL6h2EPjo4127hDwiC/yqHg1leB8 43/UhEci9gR3LhR31WW29bMvx8ro26iJYIZf2lnxwi63TrieerzXewfiWn/o+KW8aV9u hHRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-7376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7376-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17c2c825si58887666b.1030.2024.05.09.00.48.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 00:48:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-7376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7376-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4FC951F22D6D for ; Thu, 9 May 2024 07:48:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5122D14830B; Thu, 9 May 2024 07:48:06 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B82613C9A9; Thu, 9 May 2024 07:48:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715240886; cv=none; b=Ot5TBiaDUCotQtM6gFSE06c8e1avCsNmdjqaizAp5QZVyPTy+g4vAiWZit2i/J7AQDs+RFdus5iXesLqO4cg0cv/Cm90yt0ANK/zG3E4IB8Sf5j2q4mEVNECu0/et5kKoM3YTu3ZE3Yky3mAkWXHd5tC/04FajVFGkxtKLNgPMU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715240886; c=relaxed/simple; bh=kN+bKRWuS9MvO+76b3+xoXzaruyf/lT+taQHwjLtY14=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iKCnPT7yJXNSvFpiHPKARhwxK28XsVB9chZdk6NmXd3a4vqdl2D34wdV6MXPIgE70Qiz6sbBFohq2xQvW2h+10QhppgApnYLtHh3XUh8GytBan6H/SpnPb4fcDGHiznTBazIablLB+iUQZSyzEtGam9Mg7jdOB1bSZfYRrkM3aU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a599eedc8eeso139755966b.1; Thu, 09 May 2024 00:48:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715240883; x=1715845683; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DxfOpPMsocBoDaEIN71vPXTKGsCKIeOGUMJaK6ulrpg=; b=NP7jrO7BF1cC9oleKfv2/H+LAA0u8jKf8K2H3mtvH899fyZAM37Y5d4FlM9FRI4Cn0 oXaL9vMWRDTapmol1OEdRwwgOhR9/laEOoVg8Jw2MuqIMbMtngKgqyCqm8MFDQjvjwGW XapHXJwEeE1HjanIot6jeLGvubDAhQ8tmMXuUqxI9Z3CL5DhECIIM/FPehwZ8tC51O9m Yzr4xmnK9EWqokFMHsszb69PontEMWEqavRnJFo3XtPQg0Zctm27M7/EYNLsXkFWvNZU gkufQ3HaNstTyjirJKc3/XaSYfsbcdccWJAGYicJ2hScfg2/uoV3DHb8FrM0q6pMNNN8 zuig== X-Forwarded-Encrypted: i=1; AJvYcCWA8evcqQojlj7NPLgTm68n2sF8El/Weh/2f9WMocvHwkqsdGqHtEp5kSfUitt+G88vlkH5FYEWJtsF8Jp4jdC74YEn9Jjc0VbcqKKanitQ9Al4mRJ/apAvonvj4riTlhl33Dtv3xQobT3vteI= X-Gm-Message-State: AOJu0YxOD9dUVlL701CcLI7ImEOkmIIUNgqg0ApUllquzqGXfoKXQqMo jPAOZSiOrjbOB1aoCYuPQx8wYawoNL8L9GZKV3Pki5pF3mqoFAHzCvsf7A== X-Received: by 2002:a50:8e4a:0:b0:572:a731:dd14 with SMTP id 4fb4d7f45d1cf-5731da5b711mr3204050a12.28.1715240882494; Thu, 09 May 2024 00:48:02 -0700 (PDT) Received: from gmail.com (fwdproxy-lla-003.fbsv.net. [2a03:2880:30ff:3::face:b00c]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733bea6592sm422836a12.2.2024.05.09.00.48.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 00:48:02 -0700 (PDT) Date: Thu, 9 May 2024 00:48:00 -0700 From: Breno Leitao To: Ping-Ke Shih Cc: Kalle Valo , "leit@meta.com" , "open list:REALTEK WIRELESS DRIVER (rtw89)" , open list Subject: Re: [PATCH wireless] wifi: rtw89: Un-embed dummy device Message-ID: References: <20240424182351.3936556-1-leitao@debian.org> <87ttjqgf2r.fsf@kernel.org> <87mspigex0.fsf@kernel.org> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Apr 25, 2024 at 06:15:21AM +0000, Ping-Ke Shih wrote: > Kalle Valo wrote: > > Kalle Valo writes: > > > > > Ping-Ke Shih writes: > > > > > >> Breno Leitao wrote: > > >>> Embedding net_device into structures prohibits the usage of flexible > > >>> arrays in the net_device structure. For more details, see the discussion > > >>> at [1]. > > >>> > > >>> Un-embed the net_device from the private struct by converting it > > >>> into a pointer. Then use the leverage the new alloc_netdev_dummy() > > >>> helper to allocate and initialize dummy devices. > > >>> > > >>> [1] https://lore.kernel.org/all/20240229225910.79e224cf@kernel.org/ > > >>> > > >>> Signed-off-by: Breno Leitao > > >> > > >> I think this patch should go via net-next tree, because wireless-next tree > > >> doesn't have patch of dummy devices yet. > > >> > > >> Acked-by: Ping-Ke Shih > > > > > > FWIW I sent the wireless-next pull request yesterday and once it pulled > > > we will fast forward wireless-next to latest net-next. > > > > Oh, I just realised that this is not CCed to netdev so their patchwork > > won't even see the patch. Ping, I recommend that you wait for the > > dependency commits to trickle down to your tree and then apply the > > patch. That's the simplest approach and no need to resend anything. > > Okay. If we don't hurry to get this patch merged, I will apply this patch > to my tree. There is no hurry to get this patch merged. Out of curiosity, why don't you rebase your tree to net-next/linux-next frequently?