Re: [PATCH net-next] net: ethernet: ti: Makefile: Add icssg_queues.o in TI_ICSSG_PRUETH_SR1

From: Andrew Lunn
Date: Wed Jun 05 2024 - 09:12:55 EST


On Wed, Jun 05, 2024 at 09:26:17AM +0530, MD Danish Anwar wrote:
> icssg_config.c uses some APIs that are defined in icssg_queue.c.
> TI_ICSSG_PRUETH_SR1 uses icssg_config.o but not icssg_queues.o as a
> result the below build error is seen
>
> ERROR: modpost: "icssg_queue_pop"
> [drivers/net/ethernet/ti/icssg-prueth-sr1.ko] undefined!
> ERROR: modpost: "icssg_queue_push"
> [drivers/net/ethernet/ti/icssg-prueth-sr1.ko] undefined!
>
> Fix this by adding icssg_queues.o in TI_ICSSG_PRUETH_SR1

Please take a look at
https://patchwork.kernel.org/project/netdevbpf/patch/20240528161603.2443125-1-arnd@xxxxxxxxxx/


Andrew

---
pw-bot: cr