Home
last modified time | relevance | path

Searched hist:cf7f3477 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/test-drivers/
H A Dvim2m.ccf7f3477 Mon Nov 09 17:07:22 CST 2020 Sakari Ailus <sakari.ailus@linux.intel.com> media: vim2m: Register video device after setting up internals

Prevent NULL (or close to NULL) pointer dereference in various places by
registering the video device only when the V4L2 m2m framework has been set
up.

Fixes: commit 96d8eab5d0a1 ("V4L/DVB: [v5,2/2] v4l: Add a mem-to-mem videobuf framework test device")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>