crypto: ice: Sanitize the ice device return address.
Even if ICE device is not found it is possible
for list device API to return non NULL pointer
which will pass all NULL checks in code. Ensure
to return proper address or NULL.
Change-Id: Id36bad92fc3c527bdea0b3307210b01cab7197af
Signed-off-by:
ramandeep trehan <rtrehan@qti.qualcomm.com>
Loading
Please register or sign in to comment