Re: [PATCH net-next 7/8] net: dsa: lan9645x: add mac table integration
From: Andrew Lunn
Date: Wed Mar 04 2026 - 11:04:04 EST
> > > @@ -6,3 +6,4 @@ mchp-lan9645x-objs := lan9645x_main.o \
> > > lan9645x_port.o \
> > > lan9645x_phylink.o \
> > > lan9645x_vlan.o \
> > > + lan9645x_mac.o \
> >
> > Is there some particular ordering here? Because it's surely not
> > alphabetical.
> >
>
> I just add new files at the end, I thought that made the most sense. Should they be
> sorted by name?
This is part of the whole 'sorted' story of lists in Linux. By keeping
lists sorted, insertions are spread out across the list. That reduced
merge conflicts. Within one driver, conflicts are less likely, but
always adding to the end of Makefile, Kconfig, core code, etc will see
merge conflicts if we have two developers adding drivers at the same
time.
So if you have any sort of list of items, please try to keep it
sorted.
Andrew