Re: [PATCH 1/2] [v2] net: ethernet: ti-cpsw: fix linking built-in code to modules

From: Arnd Bergmann
Date: Wed Apr 17 2024 - 08:15:21 EST


On Wed, Apr 17, 2024, at 14:07, Arnd Bergmann wrote:
> On Wed, Apr 17, 2024, at 13:49, Alexander Lobakin wrote:
>> From: Arnd Bergmann <arnd@xxxxxxxxxx>
>> Date: Wed, 17 Apr 2024 10:43:01 +0200
>>
>>> From: Arnd Bergmann <arnd@xxxxxxxx>
>>>
>>> There are six variants of the cpsw driver, sharing various parts of
>>> the code: davinci-emac, cpsw, cpsw-switchdev, netcp, netcp_ethss and
>>> am65-cpsw-nuss.
>>
>> https://lore.kernel.org/all/20221119225650.1044591-10-alobakin@xxxxx
>
> I also sent a version of this patch before, but there were conflicting
> changes in the past. The version I sent should apply to the
> current code.

FWIW, I also still carry this patch in my randconfig build
tree, with a lot of the same changes as your other patches:

drivers/edac/Makefile | 10 ++--
drivers/edac/skx_common.c | 19 +++++-
drivers/edac/skx_common.h | 4 +-
drivers/hid/Makefile | 12 ++--
drivers/hid/hid-uclogic-params.c | 6 ++
drivers/hid/hid-uclogic-rdesc.c | 69 ++++++++++++++++++++++
drivers/mfd/Makefile | 6 +-
drivers/mfd/rsmu_core.c | 2 +
drivers/mtd/tests/Makefile | 34 +++++------
drivers/mtd/tests/mtd_test.c | 7 +++
drivers/net/ethernet/hisilicon/hns3/Makefile | 11 ++--
.../hisilicon/hns3/hns3_common/hclge_comm_cmd.c | 9 +++
.../hisilicon/hns3/hns3_common/hclge_comm_rss.c | 14 +++++
.../hns3/hns3_common/hclge_comm_tqp_stats.c | 5 ++
.../net/ethernet/marvell/octeontx2/nic/Makefile | 14 +++--
.../ethernet/marvell/octeontx2/nic/otx2_dcbnl.c | 9 +++
.../ethernet/marvell/octeontx2/nic/otx2_devlink.c | 4 ++
drivers/platform/x86/intel/int3472/Makefile | 9 ++-
drivers/platform/x86/intel/int3472/common.c | 5 ++
20 files changed, 198 insertions(+), 53 deletions(-)

Arnd