> From: Ye Li <ye...@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...@nxp.com> > Reviewed-by: Gaurav Jain <gaurav.j...@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: sba...@denx.de =====================================================================