[RFC v2 09/20] dm: fix an 'undefined' error in some macros
Simon Glass
sjg at chromium.org
Mon Dec 13 13:51:42 CET 2021
On Thu, 9 Dec 2021 at 23:58, AKASHI Takahiro <takahiro.akashi at linaro.org> wrote:
>
> Due to a non-existing parameter name in macro's, use of those macro's will
> cause a compiler error of "undefined reference".
> Unfortunately, dm test doesn't fail because a wrong name ("&dev", hence it
> is accidentally a valid name in the context of a caller site) is passed on.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> Fixes: f262d4ca4b2b ("dm: core: Add a way to read platdata for all
> child devices")
> Fixes: 903e83ee8464 ("dm: core: Add a way to iterate through children,
> probing each")
> ---
> include/dm/device.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list