diff options
author | Liam Mark <lmark@codeaurora.org> | 2018-01-26 09:48:18 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-16 17:50:09 +0100 |
commit | 6d79bd5bb6c79a9dba4842040c9adf39e7806330 (patch) | |
tree | 0291836a200994109d5097328d3a7019e8911a71 /drivers/iio/adc/aspeed_adc.c | |
parent | ce8a3a9e76d0193e2e8d74a06d275b3c324ca652 (diff) | |
download | linux-6d79bd5bb6c79a9dba4842040c9adf39e7806330.tar.bz2 |
staging: android: ion: Zero CMA allocated memory
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: android: ion: Use CMA APIs directly")
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc/aspeed_adc.c')
0 files changed, 0 insertions, 0 deletions