Commit 6e161d90 authored by Nikhil V's avatar Nikhil V Committed by Todd Kjos
Browse files

ANDROID: mm: cma: proper ret type for tasks interrupted by fatal signal



Currently, cma_alloc() checks if the task has fatal signals pending
and simply bail out without updating return type(defaulting to EBUSY).
Update the return type to EINTR when cma allocation fails due to pending
fatal signals.

Bug: 245880180
Change-Id: Ibcef026a3af3417a5a10e0eae51017f477f6ac0f
Signed-off-by: default avatarNikhil V <quic_nprakash@quicinc.com>
parent cbd1dda1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment