[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_JsqJ4JQ7Oop5oWUYRCNA-xQrd0svQSPrp+y1F+Qux9xTRrQ@mail.gmail.com>
Date: Wed, 20 Nov 2019 10:09:48 -0600
From: Rob Herring <robh+dt@...nel.org>
To: Saravana Kannan <saravanak@...gle.com>
Cc: Frank Rowand <frowand.list@...il.com>,
Android Kernel Team <kernel-team@...roid.com>,
devicetree@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] of: Reduce log level of of_phandle_iterator_next()
On Tue, Nov 19, 2019 at 10:00 PM Saravana Kannan <saravanak@...gle.com> wrote:
>
> These error messages are mostly useful for debugging malformed device
> tree data.
A malformed DT is an error, no?
> So change these messages from error to debug messages to
> avoid spamming the end user. Any error messages that might actually be
> useful to the user is probably going to come from the caller of these
> APIs. So leave it to them to decide if they need to print any error
> messages.
Generally that pattern results in every caller doing their own message
which is the wrong way around IMO. And recent patches fix some of
those cases[1].
Rob
[1] https://lkml.org/lkml/2019/7/30/41
Powered by blists - more mailing lists