dm: core: Clarify behaviour of ofnode_name_eq()
authorSimon Glass <sjg@chromium.org>
Sat, 11 Jan 2025 00:00:27 +0000 (17:00 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 23:08:23 +0000 (17:08 -0600)
commitff698f2ddbcce5601a19fd61bef45aedd3d59cc6
tree2bc7f3ac361258f883f9e028af610f2a10f105c3
parentd5bc5c6cb0291203fe848a8532a7ecbcd44cfe9e
dm: core: Clarify behaviour of ofnode_name_eq()

This function is somewhat ambiguous, so expand the comments and add a
test for the undefined behaviour.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/ofnode.h
test/dm/core.c