mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
crypto-qti-virt: Add null check
Add null check condition before accessing pointer. Change-Id: I6dadcb31a4b52e6f312171e82e1a02523566bfe5 Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
This commit is contained in:
parent
c30dc7b7b1
commit
0b6762f7e2
1 changed files with 2 additions and 1 deletions
|
|
@ -97,7 +97,8 @@ static int32_t send_fbe_req_hab(void *arg)
|
|||
}
|
||||
} while (0);
|
||||
|
||||
req_args->ret = ret;
|
||||
if (req_args)
|
||||
req_args->ret = ret;
|
||||
|
||||
complete(&send_fbe_req_done);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue