[U-Boot] [PATCH][v4] driver: fsl-mc: use calloc instead malloc
York Sun
york.sun at nxp.com
Mon Oct 30 18:31:08 UTC 2017
On 10/10/2017 08:21 PM, Prabhakar Kushwaha wrote:
> Memory allocated via malloc is not guaranteed to be zeroized.
>
> So explicitly use calloc instead of malloc.
>
> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> ---
> Changes for v2: Replaced malloc/memset with calloc
> Changes for v3: Updated patch description
> Changes for v4: Updated patch subject
>
Applied to fsl-qoriq master. Thanks.
York
More information about the U-Boot
mailing list