From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796255940; b=Z+F3maP/Niou4yvIIdtYPsd5NIZj/fQMEIhtzvUdAecIb6q14EFyUxduDrm/xzQwYSll L4+ZzOWs0+9L1LkBGhBkwV4+lE3fneJ59f8kzCg4Z1PCCvTQ4lkaRXnYVnByaUwuKV23B zudrIxPMduKUY9VgixjZEaAAv0PdZVKMGQwvGGZLWYt3fGv2HF3QS88uvYbk1foguiwJv KyUpjl6ySpkmpUfjbvuXN9GULzbZ+f9aJOta3SheEpcfqa0c1d1d4dr4skExP3BLff/kE 2bX72EVjail5Vt2966O1kEpLUsIV1ju5hJMAp9JscLto99SglpWMdRmVIho+0cVBmBQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796255940; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=pgNKE6hxkar7nwXnDJP/BYJ98NCn+qBXMtQYkx2veew=; b=t5yqm5R7rs5dBsCPIK+yD8/LSb0MyhkqPDhq/t6p0RqtdA9uFuGBB16Kq+QQ/l9wUJ1B Cyg9dw8UatfPm4v2t/Uo55kEI8ryY2BLhP8+svMyRZqUkTvs9g8VcOAEY97+rPEmzO+94 GgkEC3SsF5EG6KPbNqDxq3mQuTam5KAImdtID0Va0OhcdjQZltvRvvxx9YmNTicqQ1R7j iGiGRzaSEIWOL2JQzs4Yk+pbqEEef5phTtacuPwQT3lghabRhZEoAHfQybsBOqBLnRx9N 11SBHxChn5mlQ46GaFkMEDnBTB5tFATtCO0Qxq7d0MLLxLEKBc4RNfXiCjh3XvSn3ng== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=msBMzWTx; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 252D3606A337; Wed, 2 Dec 2026 23:59:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=msBMzWTx Received: by smtp.kernel.org (Postfix) with ESMTPSA id D42891F00924; Wed, 2 Dec 2026 23:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796255939; bh=pgNKE6hxkar7nwXnDJP/BYJ98NCn+qBXMtQYkx2veew=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=msBMzWTxDhqpVbfFCkRPwmx56ZJAtp5Ju4feBnjHwH2MHO8cvWU0KMSyjl8mMx0CF dAnSxAFdvMMLL9gIc0CITFlg/FyxEqcMABPG2EJU2MUUeX61gebLS8CFVD/ugpak03 Q72aERO1nU6/CZNaXUAHyxFS4HuAjiezRMyl4UQGWJRSQgDssdU/pDHd60y0hMDmhR +/xy+sWi00qUljEUzCgb4xq1YbRIcQ9+GmdyM3qY90cCtwHDrdV06C4jEOIAKlmbSv V2iXyYdtYn8CJFYjpDbz6xurMfHphz6ZOzZHIQLFIvcymyMWIjCeqGAsmA6hqm4fIt +l1j60k+2sQzw== Subject: Re: [PATCH net-next v18 15/15] net: dsa: realtek: rtl8365mb: add support for RTL8367S-VB From: netdev-bot+sashiko@kernel.org To: namiltd@yahoo.com Cc: linusw@kernel.org, andrew@lunn.ch, olteanv@gmail.com, kuba@kernel.org, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, linux@armlinux.org.uk, luizluca@gmail.com, maxime.chevallier@bootlin.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alvin.sipraga@analog.com, gusfmora@gmail.com, kuncy7@gmail.com, fabianotassotti@gmail.com, gabonpivovich@gmail.com, contact@c127.dev, o.rempel@pengutronix.de Date: Wed, 02 Dec 2026 23:58:58 +0000 Message-ID: <179625593840.3146.575037186266569071@kernel.org> In-Reply-To: <925fb208-e8fa-410c-84ed-1b8e2a2b0757@yahoo.com> References: <925fb208-e8fa-410c-84ed-1b8e2a2b0757@yahoo.com> X-sashiko-severity: Low Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] Claim: the kernel-doc for struct rtl8365mb_family_info in rtl8365mb.h says '@jam_table: family-specific initialization jam… -- net: dsa: realtek: rtl8365mb: add support for RTL8367S-VB This patch adds the RTL8367S-VB (chip ID 0x6642, version 0x0010) to the rtl8365mb chip table. It also adds rtl8365mb_family_d, which wires up the family D callbacks from the earlier patches in the series. Family D leaves jam_table unset, so switch setup runs no init jam sequence for it. > diff --git a/drivers/net/dsa/realtek/rtl8365mb_main.c b/drivers/net/dsa/realtek/rtl8365mb_main.c > index 207f59a30d175..4ef1a5b0f1d57 100644 > --- a/drivers/net/dsa/realtek/rtl8365mb_main.c > +++ b/drivers/net/dsa/realtek/rtl8365mb_main.c [ ... ] > @@ -845,6 +861,24 @@ static const struct rtl8365mb_family_info rtl8365mb_family_c = { > .qos_set_untag_pcp = rtl8365mb_c_qos_set_untag_pcp, > }; > > +static const struct rtl8365mb_family_info rtl8365mb_family_d = { > + .family = RTL8365MB_FAMILY_D, > + .ext_config_forcemode = rtl8365mb_d_ext_config_forcemode, [Severity: Low] This isn't a bug, but rtl8365mb_family_d is the first initializer that leaves jam_table NULL and jam_size 0. The kernel-doc for struct rtl8365mb_family_info in rtl8365mb.h still describes both fields as always present: * @jam_table: family-specific initialization jam table * @jam_size: number of entries in @jam_table There is no runtime problem. The only user, rtl8365mb_switch_init(), already checks for NULL and is bounded by jam_size: if (fi->jam_table) { for (i = 0; i < fi->jam_size; i++) { Should the kernel-doc say that jam_table is optional and may be NULL, the same way qos_set_untag_pcp is marked optional in that struct? > + .vlan_4k_read = rtl8365mb_d_vlan_4k_read, > + .vlan_4k_write = rtl8365mb_d_vlan_4k_write, [ ... ] > + .qos_iprio_to_hw = rtl8365mb_d_qos_iprio_to_hw, > + .qos_hw_to_iprio = rtl8365mb_d_qos_hw_to_iprio, > +}; [ ... ] -- Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/1383a67b-15e4-4c76-8bbf-65d3cbfa1fc1%40yahoo.com