[PATCH] dm: ofnode: Fix compile breakage with OF_CHECKS enabled

Stefan Roese sr at denx.de
Wed Oct 7 06:58:53 CEST 2020


Hi Simon,

On 05.10.20 23:32, Simon Glass wrote:
> Hi Stefan,
> 
> On Wed, 23 Sep 2020 at 00:23, Stefan Roese <sr at denx.de> wrote:
>>
>> Include missing log.h and change _ofnode_to_np() to ofnode_to_np() so
>> that compiling with OF_CHECKS enabled does not break.
>>
>> Signed-off-by: Stefan Roese <sr at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> ---
>>   include/dm/ofnode.h | 7 ++++---
>>   1 file changed, 4 insertions(+), 3 deletions(-)
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> We need to find a way to test this, perhaps by enabling it on one of
> the sandbox builds and calling a few functions with invalid data.

Understood. I'll try to find some time for this in the next days.

Thanks,
Stefan


More information about the U-Boot mailing list