kconfig/symbol.c: use correct pointer type argument for sizeof
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 8 Nov 2017 21:13:54 +0000 (22:13 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 21 Nov 2017 01:18:36 +0000 (20:18 -0500)
commit0931ed3c0d0fdea924b7b7196ad92c467b50debf
tree45d936043abc929f636b3b11a9b23ed966b2cc2f
parent69d3226530a0bb4945644778b903c5b95d858e30
kconfig/symbol.c: use correct pointer type argument for sizeof

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@gmx.de>
scripts/kconfig/symbol.c