Mauro Carvalho Chehab 4682b58e5a [media] qt1010: avoid going past array
As reported by smatch:
	drivers/media/tuners/qt1010.c:357 qt1010_init() error: buffer overflow 'i2c_data' 34 <= 34

This should not happen with the current code, as the i2c_data array
doesn't end with a QT1010_M1, but it doesn't hurt add a BUG_ON
to notify if one modifies it and breaks.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-04-30 14:57:35 -03:00
..
2014-09-21 16:42:35 -03:00
2014-09-21 18:24:32 -03:00
2015-03-06 23:05:39 +01:00
2014-09-03 10:38:57 -03:00
2015-04-08 15:02:07 -03:00
2014-11-25 09:14:14 -02:00
2012-10-28 07:38:54 -02:00
2014-09-03 18:42:09 -03:00