diff options
author | Himanshu Jha <[email protected]> | 2017-12-30 21:07:04 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-02 21:55:43 -0500 |
commit | 5f58dff96755b9bfa13be834a2cca9e4778df20d (patch) | |
tree | 20d19abc60f2452df5561d62805d2a8b6a9b093b /lib/memory-notifier-error-inject.c | |
parent | 3288ed69c06bf720afc99ce3850e8ca746376ad1 (diff) |
qed: Use zeroing memory allocator than allocator/memset
Use dma_zalloc_coherent and vzalloc for allocating zeroed
memory and remove unnecessary memset function.
Done using Coccinelle.
Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
0-day tested with no failures.
Suggested-by: Luis R. Rodriguez <[email protected]>
Signed-off-by: Himanshu Jha <[email protected]>
Acked-by: Tomer Tayar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions