Re: [PATCH 3/7] vivid: use vzalloc for dev->bitmap_out

2019-02-22 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Thu, Feb 21, 2019 at 03:21:44PM +0100, Hans Verkuil wrote: > When vivid is unloaded it used vfree to free dev->bitmap_out, > but it was actually allocated using kmalloc. Use vzalloc > instead, conform what vivid-vid-cap.c does. > > Signed-off-by: Hans Verkuil

[PATCH 3/7] vivid: use vzalloc for dev->bitmap_out

2019-02-21 Thread Hans Verkuil
When vivid is unloaded it used vfree to free dev->bitmap_out, but it was actually allocated using kmalloc. Use vzalloc instead, conform what vivid-vid-cap.c does. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-vid-out.c | 14 +- 1 file changed, 9 insertions(+), 5