Article View: linux.kernel.netdev
Article #23300Re: [PATCH net-next v14 02/15] net: dsa: realtek: rtl8365mb: add chip family infrastructure
From: netdev-bot+sashiko
Date: Fri, 27 Nov 2026 03:00
Date: Fri, 27 Nov 2026 03:00
67 lines
10415 bytes
10415 bytes
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] This patch removes the kernel-doc entries '@jam_table: chip-
specific initialization jam table' and '@jam_size: size of the chip'sโฆ
--
net: dsa: realtek: rtl8365mb: add chip family infrastructure
This patch adds enum rtl8365mb_family and struct rtl8365mb_family_info,
which hold the data shared by all chips of one family (the family id and
the init jam table). struct rtl8365mb_chip_info now points to a
family_info instance, and all existing chips use RTL8365MB_FAMILY_C.
rtl8365mb_get_family_info() and rtl8365mb_is_d() are declared in a new
rtl8365mb.h.
> diff --git a/drivers/net/dsa/realtek/rtl8365mb.h b/drivers/net/dsa/realtek/rtl8365mb.h
> new file mode 100644
> index 0000000000000..7b0c7109378c6
> --- /dev/null
> +++ b/drivers/net/dsa/realtek/rtl8365mb.h
[ ... ]
> +struct rtl8365mb_jam_tbl_entry;
> +
> +struct rtl8365mb_family_info {
> + enum rtl8365mb_family family;
> + const struct rtl8365mb_jam_tbl_entry *jam_table;
> + size_t jam_size;
> +};
[Severity: Low]
This isn't a bug, but should struct rtl8365mb_family_info have a
kernel-doc block?
The patch removes these lines from the struct rtl8365mb_chip_info
kernel-doc in rtl8365mb_main.c:
* @jam_table: chip-specific initialization jam table
* @jam_size: size of the chip's jam table
The jam_table and jam_size fields themselves move unchanged into
struct rtl8365mb_family_info. That struct has no kernel-doc, and the new
family member isn't documented either. struct rtl8365mb_extint and
struct rtl8365mb_chip_info in the same driver still document every
member.
The struct has no /** marker, so kernel-doc won't warn about it. Later
patches in the series add about 18 more members to this struct
(ext_config_forcemode, vlan_4k_read/write, vlan_port_get_pvid,
l2_entry_size, the l2_*_to_* converters and the qos_* hooks), and none of
them are documented by the end of the series.
Could a kernel-doc block be added here that keeps the removed @jam_table
and @jam_size descriptions, describes @family, and covers the members
added later in the series?
[ ... ]
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/874b29a3-f47f-4bf2-a0f6-2f9fea712f4c%40yahoo.com
Technical Details
Message-ID:
<179574841941.3135.14226342893059359025@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372416-linux-kernel-netdev=dewy.ruReferences:
<b2f42e59-b629-47dc-a61a-d87580516fdc@yahoo.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372416-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v14 02/15] net: dsa: realtek: rtl8365mb: add chip family infrastructure Date: Fri, 27 Nov 2026 03:00:19 +0000 Organization: Usenet Network Message-ID: <179574841941.3135.14226342893059359025@kernel.org> References: <b2f42e59-b629-47dc-a61a-d87580516fdc@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="623837"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Z5zcL2DD81FyJGe3Df3510w5SbI= sha256:rN1u7WWLOiBZn1akU8UaV7lzCmKsPMp6pHx9X81JRqI= sha1:pDnNOOeW+AUJ9tmabLL2WPJ3uxE= sha256:YOeP078pur3nu6O6ZyY42TQlq6VOUIU0/OcMWynyVNE= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id BB9E2125F0D; Fri, 27 Nov 2026 06:00:56 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RaHPc08_nNaI; Fri, 27 Nov 2026 06:00:53 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372416-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id C5818125F0E; Fri, 27 Nov 2026 06:00:44 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 671893C2B7; Fri, 27 Nov 2026 03:00:22 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795748422; b=cekX5nZFbnnzD+4uz15JhPkxJqo0IA4PYP/JZA/JlBJwutae5vb/gT3YIYsgnlgIPDVs PqRJUrTXC/To3zuODo8Gc97Fw/qZ91NzVZO7K+vzJ0zdIAKyi2OvxeFA1lT8wKvYygeQw vbU8tKZ/8vw6aRPDyBoqn9Hlvp11l4H2PEzg+60biw+K1BGW6qCKN+wiNBrwMgts2dL3k gTa8GM7UQ5giPJpde0ekfUX9yI/AxVt1Gc5QUcnLuqStu1Lrs5+PkT5pxhU58dbwdaSSf 1+m0VvrCvexfKxQ8umbTWHasRQpesIhNrcWZ4WFTE5OwQJOHcZKf5Hd6+5/zKYgvaUg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795748422; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=hMApwIg4ccUL/UyqPXsHiMrSMPM8gjtRIzIDGfh+Ylw=; b=vfZU2bU/mj1YLbCQaVU34KJqS6gQf7+2Y4p2n7RICNzqxnskiWzSfNrehFfo0uJ9rgsa p1Ubl4Jic0tPCPlH1WcVFfpyVF9BKF45Vl9KPbJoX2oKB0g6+cgZKiq7XFAegD1g3NIUy orLxDHl3co2o6JplWGl9SFjgTD71UA0CZRfZnc7lBXsJtw2JpiFdpInH7Rzq2/9Wz9DNg l5qmMlTuMYu70Q0bcZz04XU/eFStZ1nC/xZmrkr4ArraIzxOQzL/k0xyxQQX0JA1afdpY Cz3jPMVJrNDsL2wY8VXrlGx3lgx7ieIqxIIoX41fhm+SYdonligbQLbcZBzf3JzixJw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=OSBOBqUn; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 313E3606A323; Fri, 27 Nov 2026 03:00:22 +0000 (UTC) X-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=OSBOBqUn X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795748421; b=msGSr9FRmHfCA9DML1OXHmbS8oglLSHXY348CLN0yyv+64QNKCiOc+bbY6F7qPio2LWn s80eeRKmUyKkQp7qR8PS+ZMdzv0JptqbMrLrwAx6D+W90w27KY8gA1r7RD4MQ3DNzERP/ gPEhsjIJ4awFUmnaZRCQHTE02vumqpbyF2HzWeEN/y8AgMs/O0fm9icJ6OJJgqbeRBdtH 2x5GrXFakHn9pyTJR6CttQXJxf3Oe8PiOvcQi1MgKAPGlmDqQYkkShbvPemlf53bR518l SXxTCUwvPMvbtIDBhJmEIxek50lDNWrwvqt2BH5tjS7JnDvFRiEkDb/dkkZ4VHkQNaA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795748421; 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=hMApwIg4ccUL/UyqPXsHiMrSMPM8gjtRIzIDGfh+Ylw=; b=G14OD9E1Gsi99XHmptPWygEo9hQO2fNIbMrfny1DGttyQAuQtFJsMw+03/fpgq5CUecN vG0uMysqeItUNopg5aaDgtB62UVskBf27GB1t+5KJ49tzm4rE2hH5joyTq9IrdOaZ8S0V r85ZcfM0PeZHi98elk/7nClUIMoNrjah9bBUeJ+GX757dtKFMU0OyAWEQZJY2pgoiA19a ne/0SsGKWpML7pVSmueh8oQloBWnG6LWNWqu33r0IH/w5xO22JzEhySOwwjOdAQrbOmvH QlWMATm3v8qp0JHL3Ce84vP754iNCnUJQ6fkc9XXRVcnxgTXs0fN2im9rHzimleZFsw== X-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=OSBOBqUn; arc=none smtp.remote-ip=100.103.45.18 X-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 533CC606A326; Fri, 27 Nov 2026 03:00:21 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D96591F00923; Fri, 27 Nov 2026 03:00:19 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795748420; bh=hMApwIg4ccUL/UyqPXsHiMrSMPM8gjtRIzIDGfh+Ylw=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=OSBOBqUnHLedRCtaXJ4p+M5VYiukJ1PwKjgjrRm27IPZRLuHkbhyfPhbzJLkqw+gJ Hx0e0zAc1sjObOQZdnmfR6NTkQd0z5woiyo2OC6FCRlkxC8n4xrcZsDi/F3yvKA5Pk gUwU6N9Sz3geZgEL6KgFJSodeN9x/GMvR0vQJWwljCsy/cHZ//DHgc8t6sARH6mQxt mL1NdIZdFxojBVL7B9gD7CPZjqOWTyoHHH6kKR3xd7Hyevbc+3MziD9weIITwrdZ6P 7gcU+ZBh3bdZT6EOcQtcuDL9ukBvaWeBlKuPI27pE+PvT4pierYLMaYr0WxB8mcMvp 5O/6M7Pindvfw== X-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 X-In-Reply-To: <b2f42e59-b629-47dc-a61a-d87580516fdc@yahoo.com> X-sashiko-severity: Low X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list