[U-Boot] [U-Boot, 1/1] kconfig/symbol.c: use correct pointer type argument for sizeof

Tom Rini trini at konsulko.com
Tue Nov 21 13:05:29 UTC 2017


On Wed, Nov 08, 2017 at 10:13:54PM +0100, Heinrich Schuchardt wrote:

> 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 at gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171121/4a95687a/attachment.sig>


More information about the U-Boot mailing list