Article View: linux.kernel.netdev
Article #26534Re: [PATCH net-next v13 03/15] net: ethernet: oa_tc6: Move oa_tc6.c to its own directory
From: netdev-bot+sashiko
Date: Thu, 03 Dec 2026 17:46
Date: Thu, 03 Dec 2026 17:46
57 lines
10225 bytes
10225 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] The new drivers/net/ethernet/oa_tc6/Makefile declares the oa_tc6
module's parts with the old `oa_tc6-objs := oa_tc6_main.o` form.
--
net: ethernet: oa_tc6: Move oa_tc6.c to its own directory
This commit moves the OPEN Alliance TC6 framework from
drivers/net/ethernet/oa_tc6.c into a new drivers/net/ethernet/oa_tc6/
directory. It renames the file to oa_tc6_main.c and adds a new Kconfig
and Makefile there, so the module is still named oa_tc6. This prepares
for later patches that add hardware timestamping and PTP support files.
> diff --git a/drivers/net/ethernet/oa_tc6/Makefile b/drivers/net/ethernet/oa_tc6/Makefile
> new file mode 100644
> index 0000000000000..c51621fae8be1
> --- /dev/null
> +++ b/drivers/net/ethernet/oa_tc6/Makefile
> @@ -0,0 +1,7 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +#
> +# Makefile for OA TC6 10BASE-T1x MAC-PHY
> +#
> +
> +obj-$(CONFIG_OA_TC6) += oa_tc6.o
> +oa_tc6-objs := oa_tc6_main.o
[Severity: Low]
This isn't a bug, but should this new Makefile use oa_tc6-y instead of
oa_tc6-objs?
Documentation/kbuild/makefiles.rst describes composite kernel modules
with $(<module_name>-y). It uses $(<executable>-objs) only for host
programs and userspace programs.
Kbuild still accepts the -objs suffix for modules, so this builds and
still produces oa_tc6.ko. Since the file is new, would the documented
form be better?
oa_tc6-y := oa_tc6_main.o
Later patches in the series keep the same form, ending up with:
oa_tc6-objs := oa_tc6_main.o oa_tc6_ptp.o oa_tc6_tstamp.o
The -y form would also allow later objects to be added conditionally,
for example oa_tc6-$(CONFIG_...) += ...
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261202-s2500-mac-phy-support-v13-0-a2908fad2693%40onsemi.com
Technical Details
Message-ID:
<179631998929.3146.7182752026794255605@kernel.org>Path:
mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376799-linux-kernel-netdev=dewy.ruReferences:
<20261202-s2500-mac-phy-support-v13-3-a2908fad2693@onsemi.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376799-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v13 03/15] net: ethernet: oa_tc6: Move oa_tc6.c to its own directory Date: Thu, 03 Dec 2026 17:46:29 +0000 Organization: Usenet Network Message-ID: <179631998929.3146.7182752026794255605@kernel.org> References: <20261202-s2500-mac-phy-support-v13-3-a2908fad2693@onsemi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2557589"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:LQGALItE6nOWSirEn3tMaEdhu/U= sha256:gGcvYHzmWeyxpfcprJHL8Uk/l1sTDV+SO7P/VGk2yNo= sha1:7etQEF72g2eWi2JhFkz6hmCyiNc= sha256:jCHXsrnefw7C/R5R8TrptKVvHK79zZP/zqw2rRsRutQ= 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 7298D1179F9; Thu, 3 Dec 2026 20:46:48 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.74 X-Spam-Status: No, score=-3.74 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.24, 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 fJw9o4n6h2gC; Thu, 3 Dec 2026 20:46:45 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376799-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 4B9751179F4; Thu, 3 Dec 2026 20:46:37 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id E229B24144; Thu, 3 Dec 2026 17:46:35 +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=1796319993; b=ah1txc7LHSAKfnc5HgpphUSa4A+3jsWbPjlzgCUpzY2WQiMEW8rnIBlXqlvgXpnee64n kjMRQwcTupbhanhqbOh0Afm0q02bHCAHtJrMKySGGTfyMBBK/rav7A3SdBazKi+mfyjo0 Mv5VSKaZM011ZOD81iqRaE8PphJJ/Ss6XCf0YqdF3OlJ2ppGAD0JXZzLoy+i3EmpaFSNd jyt8wfBb5fBLh4NEJTqlHGh35nbKo04zdl7Kxt8rWfytsE1OpHJoXDmq0u+C0fa9v5ICY g7By2x71ruHEpBAYvuok2mcM00//eAfPI4y3tW4M7/VNO1u+IojYrw0KzoOxqeFFYXw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796319993; 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=PVFMTZCNFGF6BTfEH+Kxttss79BV8zif2Qns+7qaozw=; b=3sMZSJAc0mQI5EQ3EoOnY4CDrwI0f+vYF2zdoJjQwoVJsS7V11rKGIy0W2bwUy7utPx5 rOddBzL0kVZSczSQ4UX4RTH3Hn6X7BFYwjLwgX9mHi0ZGoGTwPk1PfEYBQwPUZ+mCuMDI bDneBzDFo2mvZDU2AAcKSlu7n6SMYgXE85kBQSvxcXNKzIuEq9tsO+/gYqUPls+FzD8eo 3BEzObB4Vla+3q1XFcZLz5Sc3KSoMh7J97EnnVMuCUlEGws33aHAnPFs074SXTQYguy/P iAqHAAFuFDxbEBNp24jiKFfIr+EoEcG+xzJdN0pfIGbet5f5Nem3SgyW5DAONiKbYXQ== 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=Vp0CBys4; 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 E0B9B606A338; Thu, 3 Dec 2026 17:46:32 +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=Vp0CBys4 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=1796319992; b=EtjOccWzJfAGLlbt+dT5BlIwb9lhqRO/nMZ0BFKjC1K5LGrLqsOWpmle2APP5Fkdgeam CYstUsnbOrku+0Px7fskE3cXpd9OYOOBr+z3Q3J0C8GLnWz5usENmVaWB4J5JBHxbQu50 YkboMfwx8UoT9Ty4A69Vi2VWacPuxfzwPxZ2bSyZK0HNtT62sabr5eJTjaaipu7Bq8SyG Q19jgA8arkl/xZvx2nRkqsnLLBRw/N+Cy2czkq4o7VxUNNMhZD8fR7fWl554Mr41vSsxL SKbu+Szq5vnunk5+RmcGSXOhfB3gOGGKc3I8HuTa08GAN7yn5WxBObrU9z/DXnQbowg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796319992; 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=PVFMTZCNFGF6BTfEH+Kxttss79BV8zif2Qns+7qaozw=; b=lgKBP4o2uKQhsxGn/oKw2TWkT58xKKOlCURT0AOSVMgD71DYq9LOKDMSs1yQ6AEkTHYA P/zeAbkTnSWvRxAAkW97knP75xeNl5GKgyZEOcVv+8McSXddHgQtOT35FLMERZ+L4DPke xBskM3iPsx9jZ+pKtF8KG6UF1MJQ8EzyNXhNE+UTg6iK44nsaVfscLvaKT5fOixR00gYl X8JgL4KlTHkCc5h0Aj8dBWakbBnxuZCeuB0kJfcOWU0N0eJ1yzvcnJEkqvNaqD1DyKTZU zaEjIbZaa0eLNNdIPk8xHxrK0+jjj2x+FMwcbeQ7TTU4kRcYFTm/zKlQqU17cC8W5WA== 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=Vp0CBys4; 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 08A11606A322; Thu, 3 Dec 2026 17:46:31 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C21221F00898; Thu, 3 Dec 2026 17:46:29 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796319991; bh=PVFMTZCNFGF6BTfEH+Kxttss79BV8zif2Qns+7qaozw=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Vp0CBys4PkOt9opWPABEQkaI/af20QQFadfsP5YcstHOoJ8qNY9XzBiMsGG2FaxiL 2Lk0tMDpF1irqJX89HamgzRMNlAhB7o5+o0f3Nju7PcExQxlPuZx8G/ighTgcEM0F1 nH4KWskeAPTJKO4heHTCv98fuYOr60Trv8DsnrPbRcBZSQv5oapB3BNpaS6xLL8/3b jm33hjJwkqi+pbM8aGaP2YqU3Eqdkag1S7SNIqFUMBNTs/v0/BX9ttDpmeeQ5U2uLl RbSVNFeV+ZGY7qp1b/FwHM7qCSKPK+rnFByOS2DeckUPXHa6iTb/vUgjEbuKJ1abk3 5/Qy2rAvlz03A== X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, parthiban.veerasooran@microchip.com, horms@kernel.org, corbet@lwn.net, skhan@linuxfoundation.org, rdunlap@infradead.org, richardcochran@gmail.com, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, edumazet@kernel.org, piergiorgio.beruto@gmail.com, willemb@google.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, jerry.ray@microchip.com, ciprian.regus@analog.com X-In-Reply-To: <20261202-s2500-mac-phy-support-v13-3-a2908fad2693@onsemi.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