[PATCH v2] dtc: Remove spurious output on stderr

David Daney ddaney.cavm at gmail.com
Thu Apr 12 11:19:59 EST 2012


On 04/11/2012 04:34 PM, David Gibson wrote:
> On Wed, Apr 11, 2012 at 04:32:26PM -0700, Simon Glass wrote:
>> Outputing to stderr is best avoided unless there is an error or warning to
>> display. At present dtc always displays the name of the file it is compiling
>> and the input/output formats. For example:
>>
>> DTC: dts->dts  on file "-"
>>
>> This can cause problems in some build systems. For example, U-Boot shows
>> build errors for any boards which use dtc at present. It is typically the
>> only message output during such a build. The C compiler does not output
>> anything in general. The current dtc behaviour makes it difficult to
>> provide a silent build in the normal case where nothing went wrong.
>>
>> Remove the message entirely.
>>
>> Signed-off-by: Simon Glass<sjg at chromium.org>
>
> Acked-by: David Gibson<david at gibson.dropbear.id.au>
>

I agree, I just saw two of them not 30 seconds ago.  So FWIW:

Acked-by: Signed-off-by: David Daney <ddaney at caviumnetworks.com>




More information about the devicetree-discuss mailing list