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/2026…%40onsemi.com