All of lore.kernel.org
 help / color / mirror / Atom feed
* sandbox: drivers/core/ofnode.c:118: ofnode_read_bool: Assertion `ofnode_valid(node)' failed.
@ 2021-07-10 11:57 Heinrich Schuchardt
  2021-07-20 18:32 ` Simon Glass
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2021-07-10 11:57 UTC (permalink / raw)
  To: Simon Glass; +Cc: U-Boot Mailing List

Hello Simon,

if I set DEBUG=1 in common.h I get:

drivers/core/ofnode.c:118: ofnode_read_bool: Assertion
`ofnode_valid(node)' failed.
drivers/core/ofnode.c:133: ofnode_read_prop: Assertion
`ofnode_valid(node)' failed.
drivers/core/ofnode.c:192: ofnode_find_subnode: Assertion
`ofnode_valid(node)' failed.
drivers/core/ofnode.c:243: ofnode_first_subnode: Assertion
`ofnode_valid(node)' failed.

Why do we have assertions here if the sandbox makes them fail?

Best regards

Heinrich

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sandbox: drivers/core/ofnode.c:118: ofnode_read_bool: Assertion `ofnode_valid(node)' failed.
  2021-07-10 11:57 sandbox: drivers/core/ofnode.c:118: ofnode_read_bool: Assertion `ofnode_valid(node)' failed Heinrich Schuchardt
@ 2021-07-20 18:32 ` Simon Glass
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2021-07-20 18:32 UTC (permalink / raw)
  To: Heinrich Schuchardt; +Cc: U-Boot Mailing List

Hi Heinrich,

On Sat, 10 Jul 2021 at 05:57, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> Hello Simon,
>
> if I set DEBUG=1 in common.h I get:
>
> drivers/core/ofnode.c:118: ofnode_read_bool: Assertion
> `ofnode_valid(node)' failed.
> drivers/core/ofnode.c:133: ofnode_read_prop: Assertion
> `ofnode_valid(node)' failed.
> drivers/core/ofnode.c:192: ofnode_find_subnode: Assertion
> `ofnode_valid(node)' failed.
> drivers/core/ofnode.c:243: ofnode_first_subnode: Assertion
> `ofnode_valid(node)' failed.
>
> Why do we have assertions here if the sandbox makes them fail?

That indicates a bug.

However just adding that line of code cannot create such errors. Do
you mean that you ran sandbox and did something in particular?

Regards,
Simon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-20 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-10 11:57 sandbox: drivers/core/ofnode.c:118: ofnode_read_bool: Assertion `ofnode_valid(node)' failed Heinrich Schuchardt
2021-07-20 18:32 ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.