Subject: Re: [PATCH net-next] net: macb: In shared MDIO usecase make MDIO producer ethernet node to probe first

From: Jakub Kicinski <[email-masked]>
Date: Tue, 28 Jun 2022 22:08:46 -0700

On Tue, 28 Jun 2022 23:38:54 +0530 Radhey Shyam Pandey wrote:
> In shared MDIO suspend/resume usecase for ex. with MDIO producer
> (0xff0c0000) eth1 and MDIO consumer(0xff0b0000) eth0 there is a
> constraint that ethernet interface(ff0c0000) MDIO bus producer
> has to be resumed before the consumer ethernet interface(ff0b0000).

ERROR: modpost: "device_is_bound" [drivers/net/ethernet/cadence/macb.ko] undefined!
make[2]: *** [../scripts/Makefile.modpost:128: modules-only.symvers] Error 1
make[1]: *** [/home/nipa/net-next/Makefile:1757: modules] Error 2
make: *** [Makefile:219: __sub-make] Error 2