Re: [PATCH] mfd: syscon: Don't free allocated name for regmap_config

2021-02-16 Thread Marc Zyngier
Hi Tomi, On Tue, 16 Feb 2021 06:34:50 +, Tomi Valkeinen wrote: > > Hi Marc, > > On 03/09/2020 19:02, Marc Zyngier wrote: > > The name allocated for the regmap_config structure is freed > > pretty early, right after the registration of the MMIO region. > > > > Unfortunately, that doesn't fo

Re: [PATCH] mfd: syscon: Don't free allocated name for regmap_config

2021-02-15 Thread Tomi Valkeinen
Hi Marc, On 03/09/2020 19:02, Marc Zyngier wrote: > The name allocated for the regmap_config structure is freed > pretty early, right after the registration of the MMIO region. > > Unfortunately, that doesn't follow the life cycle that debugfs > expects, as it can access the name field long after

Re: [PATCH] mfd: syscon: Don't free allocated name for regmap_config

2020-09-28 Thread Lee Jones
On Fri, 25 Sep 2020, Suman Anna wrote: > On 9/24/20 7:39 AM, Lee Jones wrote: > > On Thu, 03 Sep 2020, Marc Zyngier wrote: > > > >> The name allocated for the regmap_config structure is freed > >> pretty early, right after the registration of the MMIO region. > >> > >> Unfortunately, that doesn't

Re: [PATCH] mfd: syscon: Don't free allocated name for regmap_config

2020-09-25 Thread Suman Anna
On 9/24/20 7:39 AM, Lee Jones wrote: > On Thu, 03 Sep 2020, Marc Zyngier wrote: > >> The name allocated for the regmap_config structure is freed >> pretty early, right after the registration of the MMIO region. >> >> Unfortunately, that doesn't follow the life cycle that debugfs >> expects, as it

Re: [PATCH] mfd: syscon: Don't free allocated name for regmap_config

2020-09-24 Thread Lee Jones
On Thu, 03 Sep 2020, Marc Zyngier wrote: > The name allocated for the regmap_config structure is freed > pretty early, right after the registration of the MMIO region. > > Unfortunately, that doesn't follow the life cycle that debugfs > expects, as it can access the name field long after the free

Re: [PATCH] mfd: syscon: Don't free allocated name for regmap_config

2020-09-08 Thread Lee Jones
On Thu, 03 Sep 2020, Marc Zyngier wrote: > The name allocated for the regmap_config structure is freed > pretty early, right after the registration of the MMIO region. > > Unfortunately, that doesn't follow the life cycle that debugfs > expects, as it can access the name field long after the free