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

Simon Glass sjg at chromium.org
Mon Oct 5 23:32:34 CEST 2020


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.

Regards,
SImon

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list