Re: debugfs: Directory with parent 'regmap' already present!

From: Mark Brown
Date: Thu Jan 06 2022 - 07:07:58 EST


On Thu, Jan 06, 2022 at 08:47:36AM -0300, Fabio Estevam wrote:

> On an imx6q-sabresd board, I am still seeing:

> debugfs: Directory 'dummy-iomuxc-gpr@20e0000' with parent 'regmap'
> already present!

> There was an earlier thread about this issue:
> https://lkml.org/lkml/2021/7/26/95

> but I am not sure what was the conclusion.

> Any suggestions as to how to fix this warning?

Like I said there:

| (we should probably clean up the one with no device but that's not what
| your commit does). I think what you need to look at here is that we
| store map->debugfs_name and don't overwrite it when the device is
| supplied.

Attachment: signature.asc
Description: PGP signature