[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3RDumClNkEW6L4F@lunn.ch>
Date: Wed, 16 Nov 2022 02:58:18 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Corentin Labbe <clabbe@...libre.com>
Cc: broonie@...nel.org, calvin.johnson@....nxp.com,
davem@...emloft.net, edumazet@...gle.com, hkallweit1@...il.com,
jernej.skrabec@...il.com, krzysztof.kozlowski+dt@...aro.org,
kuba@...nel.org, lgirdwood@...il.com, linux@...linux.org.uk,
pabeni@...hat.com, robh+dt@...nel.org, samuel@...lland.org,
wens@...e.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-sunxi@...ts.linux.dev, netdev@...r.kernel.org,
linux-sunxi@...glegroups.com
Subject: Re: [PATCH v4 2/3] phy: handle optional regulator for PHY
> + reg_cnt = of_regulator_bulk_get_all(&bus->dev, nchild, &consumers);
This allocates memory for consumers?
I don't see it being freed. I think you need to add to
phy_remove. Plus the error patch should also free it.
Andrew
Powered by blists - more mailing lists