diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-06-20 02:55:52 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-08 16:36:43 -0300 |
commit | 20634fd1cd3b004088847318024a714f17f2d975 (patch) | |
tree | 52296f85fc4f30f393efe110df8f41eac1a15f21 /drivers/tty | |
parent | e95be15886ac9a931f540073c1c0db299e806f3c (diff) | |
download | blackbird-op-linux-20634fd1cd3b004088847318024a714f17f2d975.tar.gz blackbird-op-linux-20634fd1cd3b004088847318024a714f17f2d975.zip |
[media] ddbridge: Replace vmalloc with vzalloc
vzalloc combines vmalloc and memset 0.
The Coccinelle semantic patch used to make this change is as follows:
@@
type T;
T *d;
expression e;
statement S;
@@
d =
- vmalloc
+ vzalloc
(...);
if (!d) S
- memset(d, 0, sizeof(T));
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions