]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit8e207f3b570901a9129c44b29f8f7c3af93dfa08
tree45d936043abc929f636b3b11a9b23ed966b2cc2f
parent987d3726bdbad7ed6688d3fa5e89ee797aa038e0
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