summaryrefslogtreecommitdiffstats
path: root/scripts/coccicheck
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-11-08 22:09:59 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-23 23:12:02 +0900
commit88127dae6ed9d6aa938e9cf1776dc90b897fc1f7 (patch)
treeb1ba5b5332108d1493aa5eedeb695092f953bed5 /scripts/coccicheck
parentae6b289a37890909fea0e4a1666e19377fa0ed2c (diff)
downloadlinux-stable-88127dae6ed9d6aa938e9cf1776dc90b897fc1f7.tar.gz
linux-stable-88127dae6ed9d6aa938e9cf1776dc90b897fc1f7.tar.bz2
linux-stable-88127dae6ed9d6aa938e9cf1776dc90b897fc1f7.zip
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> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions