On Fri, 2019-05-17 at 15:35 +0200, Stefan Wahren wrote: > Hi Daniel, > > On 17.05.19 15:03, Daniel Baluta wrote: > > Hi Stefan, > > > > Can you try the following patch: > > > > diff --git a/drivers/base/regmap/regmap-debugfs.c > > b/drivers/base/regmap/regmap-debugfs.c > > index 263f82516ff4..a2225efffdda 100644 > > --- a/drivers/base/regmap/regmap-debugfs.c > > +++ b/drivers/base/regmap/regmap-debugfs.c > > @@ -579,6 +579,9 @@ void regmap_debugfs_init(struct regmap *map, > > const > > char *name) > > } > > > > if (!strcmp(name, "dummy")) { > > + if (map->debugfs_name) > > + kfree(map->debugfs_name); > > + > > map->debugfs_name = kasprintf(GFP_KERNEL, > > "dummy%d", > > dummy_index); > > unfortunately this doesn't fix the issue. > That's strange. It could be that we are dealing with multiple memory leaks. If you have time I have updated the previous patch with some debugging info. Please find it attach. Let me know the results.