projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
0931ed3
)
kconfig/symbol.c: use correct pointer type argument for sizeof
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 8 Nov 2017 21:13:54 +0000
(22:13 +0100)
committer
Tom Rini
<trini@konsulko.com>
Tue, 21 Nov 2017 01:18:36 +0000
(20:18 -0500)
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>
No differences found