Skip to content
Commit 20fa9fc8 authored by Ronak Jain's avatar Ronak Jain
Browse files

fix(zynqmp): resolve null pointer dereferencing



The upstream coverity tool has reported the null pointer dereferences
(NULL_RETURNS) warning.

The coverity warning,
Dereferencing a pointer that might be "NULL" "proc" when calling
"pm_client_suspend".

Fix the same by checking the NULL before processing further.

Change-Id: I33acead9250bab0ed24b94aa1c1bdc31e80de771
Signed-off-by: default avatarRonak Jain <ronak.jain@amd.com>
parent 2b67ee6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment