[U-Boot] [PATCH] driver: net: fsl-mc: Memset dprc_cfg before configuring

york sun york.sun at nxp.com
Mon Feb 1 23:03:36 CET 2016


On 01/19/2016 10:34 PM, Prabhakar Kushwaha wrote:
> From: Prabhakar Kushwaha <prabhakar at freescale.com>
> 
> All fields of struct dprc_cfg are not being configured while creating
> child container. "Not" configured fields are assumed to be 0.
> 
> So memset dprc_cfg before configuring the fields.
> 
> Signed-off-by: Itai Katz <itai.katz at nxp.com>
> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> ---
>  drivers/net/fsl-mc/mc.c | 1 +
>  1 file changed, 1 insertion(+)

Applied to u-boot-fsl-qoriq master branch. Awaiting upstream.

Thanks.

York



More information about the U-Boot mailing list