aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorHimanshu Jha <[email protected]>2017-12-30 21:14:57 +0530
committerDavid S. Miller <[email protected]>2018-01-02 21:56:40 -0500
commitaa006d1ad0a58f5dad0065b25263a73365319996 (patch)
tree8ee936b74cd14d0d0b32e067b9377466ff199cf3 /lib/memory-notifier-error-inject.c
parent5f58dff96755b9bfa13be834a2cca9e4778df20d (diff)
ethernet/broadcom: Use zeroing memory allocator than allocator/memset
Use dma_zalloc_coherent 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]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions