diff options
| author | Srishti Sharma <srishtishar@gmail.com> | 2017-09-14 18:18:13 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-18 12:00:07 +0200 |
| commit | aabdabad35d3c01f977084221afe09cab5dfa8af (patch) | |
| tree | 74b6f10863153d0a9243cb9501b38795f3ac9434 /tools/perf/scripts/python | |
| parent | 2b8b4a2762f55627e96834776199eb8f078ae284 (diff) | |
| download | kernel-aabdabad35d3c01f977084221afe09cab5dfa8af.tar.gz | |
Staging: ccree: Use kcalloc instead of kzalloc
Use kcalloc instead of kzalloc to check for overflow before
multiplication. Done using the following semantic patch by
coccinelle.
http://coccinelle.lip6.fr/rules/kzalloc.cocci
Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
