summaryrefslogtreecommitdiff
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2019-03-09 10:20:56 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-03-29 14:42:37 +0300
commitaeb0d0f581e2079868e64a2e5ee346d340376eae (patch)
tree2236a4d1f4ab215d1f32a380f65dcd9439b0edee /drivers/media/usb
parent99df48ec7c5b10d00a394cc260726c5316640c81 (diff)
downloadlinux-aeb0d0f581e2079868e64a2e5ee346d340376eae.tar.xz
media: video-mux: fix null pointer dereferences
devm_kcalloc may fail and return a null pointer. The fix returns -ENOMEM upon failures to avoid null pointer dereferences. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions