Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b557a611 authored by Neeraj Soni's avatar Neeraj Soni
Browse files

scsi: ufs: ice: propagate memeory allocation failure error



It is possible that ice workqueue allocation fails in cases like
low memory or other workqueue allocation failures. Propagate proper
error code up in call stack for effective error handling by system. Also
check if ice workqueue is allocated before scheduling it to avoid possible
NULL pointer dereference.

Change-Id: I5aec3c20b31d6c3a78f7389b6df26fad2ebfb041
Signed-off-by: default avatarNeeraj Soni <neersoni@codeaurora.org>
parent 4b54d9aa
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