diff options
| author | Himanshu Jha <himanshujha199640@gmail.com> | 2018-04-06 02:02:10 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-04-18 19:33:58 -0400 |
| commit | 3c6c122cfcbc2264d8414d292ebe2803b7e20215 (patch) | |
| tree | 7fda020858d1ba466e414f783d058a30b9a3a1f7 /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | 6b1f8376dc34fb3b728672ed6e06751f26b3b225 (diff) | |
| download | linux-3c6c122cfcbc2264d8414d292ebe2803b7e20215.tar.gz linux-3c6c122cfcbc2264d8414d292ebe2803b7e20215.zip | |
scsi: megaraid_sas: Use zeroing memory allocator than allocator/memset
Use pci_zalloc_consistent for allocating zeroed memory and remove
unnecessary memset function.
Done using Coccinelle.
Generated by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
Suggested-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
