Re: [PATCH net-next 04/15] net: mdio: add generic driver for NXP SJA1110 100BASE-TX embedded PHYs
From: Vladimir Oltean
Date: Thu Nov 20 2025 - 13:49:37 EST
On Thu, Nov 20, 2025 at 06:55:56PM +0100, Maxime Chevallier wrote:
> > + config.regmap = regmap;
> > + config.parent = dev;
> > + config.name = dev_name(dev);
> > + config.resource = platform_get_resource(pdev, IORESOURCE_REG, 0);
>
> Just to clarify, a small comment to say that it's OK of
> platform_get_resource() returns NULL maybe ?
Good forethought. I can already imagine tens of patches to 'fix' this if
merged like that..
Thanks for the review!