Dear Vadim Bendebury, In message <CAC3GErGRvV0PjWt47d1dQ=d5b3kv+bge0jsxdzsywepsvbe...@mail.gmail.com> you wrote: > > > Make it an inline function then, this will do the typechecking for you. > > I am not sure what is wrong with a short macro in this case - is this > against the coding style?
"Documentation/CodingStyle": Generally, inline functions are preferable to macros resembling functions. Marek listed one (important) reason why this is the case. So please change this. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de "'Tis true, 'tis pity, and pity 'tis 'tis true." - Poloniouius, in Willie the Shake's _Hamlet, Prince of Darkness_ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot