summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2013-02-07 10:05:43 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-08 19:30:53 (GMT)
commit82f0efbcd3c4e6bf7cdfeed5c901b812e6d30f92 (patch)
treef34422ddad3328fd8dc8f8c1827841c4e5817623 /drivers/media/i2c
parentbf5bbed15c41228ea1abbb8d3931050922bfc37f (diff)
downloadlinux-fsl-qoriq-82f0efbcd3c4e6bf7cdfeed5c901b812e6d30f92.tar.xz
[media] tm6000: fix an uninitialized variable
tm6000_poll could use an uninitialized buf pointer. Move the buf-handling code inside the 'if' that initializes the buf pointer. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions