diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-27 14:23:31 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-11 18:15:10 +0200 |
| commit | 9955d906f28098dfb7be9b5c75006c5f2b431772 (patch) | |
| tree | 757eb1456c688a2852244a90c3854facd89641de /tools/perf/scripts/python | |
| parent | media: atomisp: add more comments about frame allocation (diff) | |
| download | linux-9955d906f28098dfb7be9b5c75006c5f2b431772.tar.gz linux-9955d906f28098dfb7be9b5c75006c5f2b431772.zip | |
media: atomisp: remove kvmalloc/kvcalloc abstractions
The sh_css layer adds an abstraction for kvmalloc/kvcalloc.
Get rid of them. Most of the work here was done by this
small coccinelle script:
<cocci>
@@
expression size;
@@
- sh_css_malloc(size)
+ kvmalloc(size, GFP_KERNEL)
@@
expression n;
expression size;
@@
- sh_css_calloc(n, size)
+ kvcalloc(n, size, GFP_KERNEL)
</cocci>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
