[media] stb6100: fix buffer length check in stb6100_write_reg_range()
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 26 Feb 2014 02:41:14 +0000 (23:41 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 28 Feb 2014 18:20:33 +0000 (15:20 -0300)
commit7e6bd12fb77b0067df13fb3ba3fadbdff2945396
tree14828e1ff4fbdcf79d147d7dc62cc742b8574ff8
parentc6aa852ae0c265da2f7dd84f5d864d55415e37c9
[media] stb6100: fix buffer length check in stb6100_write_reg_range()

We are checking sizeof() the wrong variable!

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/stb6100.c