[PATCH] caam: Fix crash in case caam_jr_probe failed

sbabic at denx.de sbabic at denx.de
Fri May 20 15:43:47 CEST 2022


> From: Ye Li <ye.li at nxp.com>
> If probing caam_jr returns failure, the variable "dev" will not be
> initialized, so we can't use dev->name for the error print.
> Otherwise it will cause crash.
> Signed-off-by: Ye Li <ye.li at nxp.com>
> Reviewed-by: Gaurav Jain <gaurav.jain at nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list