[PATCH net-next v1] net: macb: fix use of at91_default_usrio without CONFIG_OF
Jakub Kicinski
kuba at kernel.org
Mon Mar 30 15:43:13 PDT 2026
On Mon, 30 Mar 2026 10:02:00 +0100 Conor Dooley wrote:
> @@ -5778,7 +5778,7 @@ static int macb_probe(struct platform_device *pdev)
>
> macb_config = of_device_get_match_data(&pdev->dev);
> if (!macb_config)
> - macb_config = &default_gem_config;
> + return -EINVAL;
>
AI reviewer says this will break macb_pci.c which registers a platform
device and will never have match data?
Feel free to post the v2 without the full 24h netdev wait if needed.
--
pw-bot: cr
More information about the linux-riscv
mailing list