]> git.baikalelectronics.ru Git - kernel.git/commit
media: videobuf2-dma-sg.c: kvmalloc_array -> kvcalloc
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 2 May 2022 07:16:25 +0000 (09:16 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:22 +0000 (11:02 +0200)
commitf85859e5165d94d251e2a626839412557abf1eb1
treec0e175c7a6f06cd4366aede3ae8f484de7b23d86
parent6c8542ef79b09a468914796818376a75d0c61f29
media: videobuf2-dma-sg.c: kvmalloc_array -> kvcalloc

Fixes smatch warning:

drivers/media/common/videobuf2/videobuf2-dma-sg.c:129 vb2_dma_sg_alloc() warn: Please consider using kvcalloc instead

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/common/videobuf2/videobuf2-dma-sg.c