Re: [PATCH v2] staging: android: ion: Zero CMA allocated memory

2018-01-24 Thread Liam Mark
On Wed, 24 Jan 2018, Laura Abbott wrote: > On 01/22/2018 09:46 AM, Liam Mark wrote: > > Since commit 204f672255c2 ("staging: android: ion: Use CMA APIs directly") > > the CMA API is now used directly and therefore the allocated memory is no > > longer automatically zeroed. > > > > Explicitly zero

Re: [PATCH v2] staging: android: ion: Zero CMA allocated memory

2018-01-24 Thread Laura Abbott
On 01/22/2018 09:46 AM, Liam Mark wrote: Since commit 204f672255c2 ("staging: android: ion: Use CMA APIs directly") the CMA API is now used directly and therefore the allocated memory is no longer automatically zeroed. Explicitly zero CMA allocated memory to ensure that no data is exposed to use

[PATCH v2] staging: android: ion: Zero CMA allocated memory

2018-01-22 Thread Liam Mark
Since commit 204f672255c2 ("staging: android: ion: Use CMA APIs directly") the CMA API is now used directly and therefore the allocated memory is no longer automatically zeroed. Explicitly zero CMA allocated memory to ensure that no data is exposed to userspace. Fixes: 204f672255c2 ("staging: and