]> git.karo-electronics.de Git - mv-sheeva.git/commit
[media] lgdt330x: fix behavior of read errors in lgdt330x_read_ucblocks
authorMichael Krufky <mkrufky@linuxtv.org>
Thu, 15 Dec 2011 13:16:09 +0000 (10:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 17:57:29 +0000 (15:57 -0200)
commit26110dac8b3b30a99555d85fc1308a21fba5b746
tree5b2225de2991ccc7b4a182bcfa342616638b8413
parent7e7b8287af32400daea1e231057b4b75934af347
[media] lgdt330x: fix behavior of read errors in lgdt330x_read_ucblocks

initialize *ucblocks to zero & fix the following build warning:

lgdt330x.c: In function "lgdt330x_read_ucblocks":
lgdt330x.c:288:6: warning: variable "err" set but not used
[-Wunused-but-set-variable]

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/lgdt330x.c