Re: [PATCH] regulator: of: Lower the severity of the error with no container

From: Guenter Roeck
Date: Thu Oct 09 2014 - 13:50:11 EST


On Thu, Oct 09, 2014 at 04:54:40PM +0100, Mark Brown wrote:
> On Wed, Oct 08, 2014 at 05:25:31PM -0700, Guenter Roeck wrote:
>
> > > Shove a dev_name() on the front if we get a collision? I have to say
> > > I've never cared, the debugfs isn't that important so it doesn't matter
> > > too much if it fails.
>
> > Sure, but, again, I am getting lots and lots of those error messages.
> > I probably would not care either (and probably not even have noticed)
> > if not for those messages.
>
> > Want me to submit a patch with the dev_name solution ?
>
> Yes, please.

Turns out that is already supposed to happen if the function creating
the entry knows about the device. I guess this explains why others don't
see the problem. We'll have to find out what is going on.

Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/