lkml.org 
[lkml]   [2017]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/1] kconfig/symbol.c: use correct pointer type argument for sizeof
2017-11-09 6:09 GMT+09:00 Heinrich Schuchardt <xypron.glpk@gmx.de>:
> 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>
> ---

Applied to linux-kbuild. Thanks!



--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2017-11-23 15:14    [W:2.089 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site