[PATCH v2 2/3] common: board: make initcalls static
Marek Vasut
marex at denx.de
Fri Jan 24 11:35:30 CET 2025
On 1/24/25 10:10 AM, Jerome Forissier wrote:
> +#define INITCALL(_call) \
> + do { \
> + if (_call()) { \
> + printf("%s(): initcall %s() failed\n", __func__, \
> + #_call); \
> + hang(); \
> + } \
> + } while (0)
Can this be turned into some static inline function too , so
typechecking would be retained ? Maybe the function can be passed in a
function pointer to call ?
More information about the U-Boot
mailing list