From: Hans Verkuil Date: Thu, 7 Feb 2013 10:05:43 +0000 (-0300) Subject: [media] tm6000: fix an uninitialized variable X-Git-Tag: v3.9-rc1~93^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82f0efbcd3c4e6bf7cdfeed5c901b812e6d30f92;p=pandora-kernel.git [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 Reported-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed