Re: [PATCH 1/1] kconfig/symbol.c: use correct pointer type argument for sizeof

From: Masahiro Yamada
Date: Thu Nov 23 2017 - 09:14:27 EST


2017-11-09 6:09 GMT+09:00 Heinrich Schuchardt <xypron.glpk@xxxxxx>:
> sym_arr is of type struct symbol **.
> So in malloc we need sizeof(struct symbol *).
>
> The problem was indicated by coccinelle.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>
> ---

Applied to linux-kbuild. Thanks!



--
Best Regards
Masahiro Yamada