Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp640439rdb; Thu, 21 Dec 2023 23:49:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9/I5wgpeGixem+vSMALnYydoT7SFBkvc+s7GBanS2TCEuiAJHR1181IDpK5HfqsMoJ51e X-Received: by 2002:a05:622a:24f:b0:420:5b48:4a54 with SMTP id c15-20020a05622a024f00b004205b484a54mr1206686qtx.23.1703231370467; Thu, 21 Dec 2023 23:49:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703231370; cv=none; d=google.com; s=arc-20160816; b=eYYr3lAFmy1k/QC4vA+SopyKLH8fixmLJ6R9rJfE3VjOHDNa+4PD7ckfCEWP4BXPg5 /Bas3pN9KWAGpN6ZYrNkfBm6uMFqv824Qzss7SO1yiJVCvd0lIwQe3iU8xh/FvWAkDBq hNF/0GRrqm/sx18Yazw1053hk9gXMLfelx2ZWQoP91Qk3rHWjiXKt492rK+JFFCl4Gqt Ippc4Edh/Q12rHpQwv9EpHc6vuv3mWNRAptuKiIu1WEM5rawqjouZLUpsZWhzha4c6Gp t9BqFfvvZUZ3oXo5o8K7u9B4UV8aBvpHiGPSQVJdndMAWm+8DP/MMxca/YkIutXQbhhb 3Kwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature :dkim-signature:message-id; bh=j1zBruhU6Y4w8/ki7Ulq65ZHtZq9GY0LM2gc43GbT+M=; fh=B8o+z0BrKEPgpj9MKmYUFYnGwr+ws6ED0wqC2zV4cSs=; b=o+xHsx78ufUQpCEJOBJWqAa1APkZVEhZFpqdknsWiR0Kt7eEUwjHNVlPpoyDnwTI5+ zN4EeJB5s66IPX3c01blls7ceITPv8vagyVd2x9qqUV2ybHseWvVVGFbv8d3ADyV3gt5 lLzrG440W14zk5QS9FWmUAUhGYpHyUduPrk4g1Wfgmup3s6JnemNwoQGJNfHmsVHWOc8 4GFhFUKifBZs3Kxq3U3lw+Xvq1FEWx96W59v1ufYgGT4O5mY5u9ZVwdSV+y7HaMwq9MS U37b5aGGqy6wYVbCcwBSTtsoYxd656L2OYejjh/ycpHJoCM2KzX2tGb/EncpgZWAUR+v SVfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=AmCJ9Vdl; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1204-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1204-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 4-20020ac85704000000b00421b95298d8si3853872qtw.404.2023.12.21.23.49.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 23:49:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1204-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=AmCJ9Vdl; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1204-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1204-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 247A11C2408C for ; Fri, 22 Dec 2023 07:49:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EEF48BE47; Fri, 22 Dec 2023 07:49:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="AmCJ9Vdl"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="pH1/A28N" X-Original-To: linux-wireless@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 60330BE48 for ; Fri, 22 Dec 2023 07:49:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Message-ID: <6aaae1a4-5d34-476e-b64b-2c19b7a15473@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1703231363; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=j1zBruhU6Y4w8/ki7Ulq65ZHtZq9GY0LM2gc43GbT+M=; b=AmCJ9VdlE/Gj+DyeEsD7psapz78otYKc/rtio+qsClSjp8vfD9zSqwTtvyQm1kEAkKn9lN dehWLq1MUagyIXOMQC3/DmgA/9j6fh09uLTdgHPrXg3gz7moJaodkJvsfIB1nWw5Fnq4pB DezVlK19EGxR+IdDftgfd+fdFnLjZ0gPIaaDhehiiATCgv9/z7Fp/D8wzD2z9pJs1s6F8b kf/UqHRx4HY+dHkBUDDAOu36mPvexhI06wfaJwbd+Gvm3/86HTwioV732q6q7fn1O3ZAdg 8Lwl4Kd0dR7aWl+HWJuWa4cdZGOMt/mAEzaGph3Dteyf2VMH2p+BBCxeCNzVLg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1703231363; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=j1zBruhU6Y4w8/ki7Ulq65ZHtZq9GY0LM2gc43GbT+M=; b=pH1/A28NOZHTrm52QQTfUGtgIFaFuyO1fqkHJylSJf6duSrPAv0sKvfgVNpfR2zJSgGQie 1GwJzekiihlBWSAw== Date: Fri, 22 Dec 2023 08:49:23 +0100 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v2 20/21] wifi: rtl8xxxu: make supporting AP mode only on port 0 transparent Content-Language: de-DE To: Ping-Ke Shih , "linux-wireless@vger.kernel.org" Cc: Jes Sorensen , Kalle Valo , Bitterblue Smith , Sebastian Andrzej Siewior References: <20231221164353.603258-1-martin.kaistra@linutronix.de> <20231221164353.603258-21-martin.kaistra@linutronix.de> <7bbb0d0b803d49088957b47ad716e99b@realtek.com> From: Martin Kaistra In-Reply-To: <7bbb0d0b803d49088957b47ad716e99b@realtek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Am 22.12.23 um 02:54 schrieb Ping-Ke Shih: > > >> -----Original Message----- >> From: Martin Kaistra >> Sent: Friday, December 22, 2023 12:44 AM >> To: linux-wireless@vger.kernel.org >> Cc: Jes Sorensen ; Kalle Valo ; Ping-Ke Shih >> ; Bitterblue Smith ; Sebastian Andrzej Siewior >> >> Subject: [PATCH v2 20/21] wifi: rtl8xxxu: make supporting AP mode only on port 0 transparent >> > > [...] > >> + >> + /* >> + * priv->vifs[0] is NULL here, based on how this function is currently >> + * called from rtl8xxxu_add_interface(). >> + * When this function will be used in the future for a different >> + * scenario, please check whether vifs[0] or vifs[1] can be NULL and if >> + * necessary add code to set port_num = 1. >> + */ > > Did you run scripts/checkpatch.pl to this patch? Initial line of comment block > for networking code should not empty, so it should be below: > > + /* priv->vifs[0] is NULL here, based on how this function is currently > + * called from rtl8xxxu_add_interface(). > + * When this function will be used in the future for a different > + * scenario, please check whether vifs[0] or vifs[1] can be NULL and if > + * necessary add code to set port_num = 1. > + */ > I did run checkpatch.pl and chose to ignore this warning because all other multiline comments in the rtl8xxxu driver also have this initial empty line. Do you still want me to change it?