Home
last modified time | relevance | path

Searched hist:"8 af592e2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c8af592e2 Mon May 02 02:14:42 CDT 2022 Hans Verkuil <hverkuil-cisco@xs4all.nl> media: v4l2-subdev.c: kvmalloc_array -> kvcalloc

Fixes smatch warning:

drivers/media/v4l2-core/v4l2-subdev.c:978 __v4l2_subdev_state_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>