aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-06 19:16:18 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-25 07:10:15 +0200
commit16b2b5c638c12ffc89753ad19edeb9baa6f59b99 (patch)
tree8c54ec7eeeebfb32d0b32d43eec156ef53104dc4 /fs
parent8dc9342126bbd39181caa83ab437fb22ee25d57d (diff)
downloadkernel_samsung_smdk4412-16b2b5c638c12ffc89753ad19edeb9baa6f59b99.zip
kernel_samsung_smdk4412-16b2b5c638c12ffc89753ad19edeb9baa6f59b99.tar.gz
kernel_samsung_smdk4412-16b2b5c638c12ffc89753ad19edeb9baa6f59b99.tar.bz2
uvcvideo: Fix crash when linking entities
commit 4d9b2ebd335d83044b9e6656d0e604e8e1300334 upstream. The uvc_mc_register_entity() function wrongfully selects the media_entity associated with a UVC entity when creating links. This results in access to uninitialized media_entity structures and can hit a BUG_ON statement in media_entity_create_link(). Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Josh Boyer <jwboyer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions