diff options
author | Fabio Estevam <[email protected]> | 2015-08-21 13:52:00 -0300 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2015-08-24 22:07:42 +0800 |
commit | 9c4f9733e26f0d6977096fcafe71ea2ba9f0cd7c (patch) | |
tree | 4022ae408c94a729cc5483c851d028ced580847b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | a3c09550f0cbd9965e44a2dc62c85ff5db91f8ff (diff) |
crypto: caam - Use the preferred style for memory allocations
"The preferred form for passing a size of a struct is the following:
p = kmalloc(sizeof(*p), ...);
....
The preferred form for allocating a zeroed array is the following:
p = kcalloc(n, sizeof(...), ...); "
,so do as suggested.
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Horia Geant? <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions