]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit491aa96a8c37260d2466735ecd3c662db8c0a7af
tree23c31261cb9f4bc2c8d95a4610523b3d29139f73
parent289a774bf53b366393e51b4f512b610bfb5fdd9d
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