Skip to content
Commit cda8f873 authored by Ye Li's avatar Ye Li Committed by Stefano Babic
Browse files

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: default avatarYe Li <ye.li@nxp.com>
Reviewed-by: default avatarGaurav Jain <gaurav.jain@nxp.com>
parent 5ed4c33f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment