diff options
author | Ye Li <ye.li@nxp.com> | 2022-05-11 13:56:20 +0530 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-05-20 12:36:47 +0200 |
commit | cda8f87349594a1df9cc8616e25944173c9d0a0c (patch) | |
tree | 5f7422564e3f170580dbb31e1cd4798c9427a0c2 /fs | |
parent | 5ed4c33f36a000dfacc8c0c98d148e42235ada6e (diff) | |
download | u-boot-cda8f87349594a1df9cc8616e25944173c9d0a0c.zip u-boot-cda8f87349594a1df9cc8616e25944173c9d0a0c.tar.gz u-boot-cda8f87349594a1df9cc8616e25944173c9d0a0c.tar.bz2 |
caam: Fix crash in case caam_jr_probe failed
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@nxp.com>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions