From: Stefan Roese Date: Wed, 7 Oct 2020 06:58:53 +0200 Subject: [PATCH] dm: ofnode: Fix compile breakage with OF_CHECKS enabled In-Reply-To: References: <20200923062327.1787355-1-sr@denx.de> Message-ID: <526fe01e-667d-632f-d0ff-269cf5eecbda@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On 05.10.20 23:32, Simon Glass wrote: > Hi Stefan, > > On Wed, 23 Sep 2020 at 00:23, Stefan Roese 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 >> Cc: Simon Glass >> --- >> include/dm/ofnode.h | 7 ++++--- >> 1 file changed, 4 insertions(+), 3 deletions(-) > > Reviewed-by: Simon Glass > > 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