Re: [RFC v2 09/20] dm: fix an 'undefined' error in some macros

2022-01-07 Thread Ilias Apalodimas
On Mon, 13 Dec 2021 at 14:51, Simon Glass wrote: > > On Thu, 9 Dec 2021 at 23:58, AKASHI Takahiro > 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 wro

Re: [RFC v2 09/20] dm: fix an 'undefined' error in some macros

2021-12-13 Thread Simon Glass
On Thu, 9 Dec 2021 at 23:58, AKASHI Takahiro 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 c

[RFC v2 09/20] dm: fix an 'undefined' error in some macros

2021-12-09 Thread AKASHI Takahiro
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 T