[RFC v2 09/20] dm: fix an 'undefined' error in some macros
Ilias Apalodimas
ilias.apalodimas at linaro.org
Fri Jan 7 13:38:58 CET 2022
On Mon, 13 Dec 2021 at 14:51, Simon Glass <sjg at chromium.org> wrote:
>
> 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>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
More information about the U-Boot
mailing list