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

From: Guenter Roeck
Date: Wed Oct 08 2014 - 18:59:25 EST


On Wed, Oct 08, 2014 at 11:36:01PM +0100, Mark Brown wrote:
> On Wed, Oct 08, 2014 at 03:34:03PM -0700, Guenter Roeck wrote:
>
> > Would it also be possible to lower the severity of the "no parameters"
> > message ?
>
> Could you be more specific please?

There is a log message "no parameters" for each regulator. This is printed
unconditionally from print_constraints().

Looking through the code again, looks like this is on purpose. It is just a bit
annoying to get lots of those messages. One of the systems I am dealing with has
17 LTC2978 chips in it, with 8 channels each. That results in 136 times "no
parameters" in the boot log. And that is not even a fully populated system;
if fully populated, there can be more than 60 of those chips. 500+ lines of
similar log messages is really a bit on the high side.

It might help if there was a way to silence the messages, ie to make
"print_constraints" optional.

Thanks,
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/