]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13523): dvb-bt8xx: fix compile warning
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 25 Nov 2009 21:48:54 +0000 (18:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:42:15 +0000 (18:42 -0200)
commite73bc588f438a76fcf197dd22a84e549735445a7
tree23c31261cb9f4bc2c8d95a4610523b3d29139f73
parent952f78c58a3b2de09148c3cfb46135dc5fb88558
V4L/DVB (13523): dvb-bt8xx: fix compile warning

Fix this compile warning:

v4l/dvb-bt8xx.c: In function 'cx24108_tuner_set_params':
v4l/dvb-bt8xx.c:221: warning: array subscript is above array bounds

Make sure that we never get past the last element in the array.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/bt8xx/dvb-bt8xx.c