Tag: 20634fd1cd3b004088847318024a714f17f2d975

[media] ddbridge: Replace vmalloc with vzalloc

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> 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 Signed-off-by: Hans Verkuil Signed-off-by: …

Continue reading