Re: [PATCH] drivers: Fix reference leak in altr_sysmgr_regmap_lookup_by_phandle()
From: Lee Jones
Date: Thu Nov 06 2025 - 09:39:14 EST
On Sat, 25 Oct 2025, Markus Elfring wrote:
> …
> > Found by code review.
>
> See also the commit facd37d3882baad4a38afdd5f33908f6fc145d13
> ("mfd: altera-sysmgr: Fix device leak on sysmgr regmap lookup") from 2025-10-21.
This patch has the correct formatting and doesn't do extra, unnecessary
actions like store the regmap into a local variable for some unexplained
reason. For those reasons, I'm planning on taking this one instead.
--
Lee Jones [李琼斯]