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

Skip to content
Commit 6b6d1baa authored by Neeraj Soni's avatar Neeraj Soni Committed by Ramandeep Trehan
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 fa8b293e
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