diff options
| author | Himanshu Jha <himanshujha199640@gmail.com> | 2017-12-30 21:09:56 +0530 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-02 11:20:13 -0700 |
| commit | d78756d842de49608bedc80666ae4c8cbf1e4889 (patch) | |
| tree | 88a386aa7315dd1e32699223a28af72b6a5b3d4f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f48fca4d818f92966419fb74ce56bc5e198ecb5c (diff) | |
| download | linux-d78756d842de49608bedc80666ae4c8cbf1e4889.tar.gz linux-d78756d842de49608bedc80666ae4c8cbf1e4889.zip | |
IB/ocrdma: 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 <mcgrof@kernel.org>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
