Staging: cx25821: off by one in cx25821_enum_input()
authorDan Carpenter <error27@gmail.com>
Mon, 28 Dec 2009 17:00:24 +0000 (19:00 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:38 +0000 (16:42 -0800)
commited30013207ef3e36da4f39db1298ae53f799e29c
treee27b869b3904735c0639c265c259d64a8633afa5
parent7a02f549fcc30fe6be0c0024beae9a3db22e1af6
Staging: cx25821: off by one in cx25821_enum_input()

The INPUT(n) macro indexes an array of size 2.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cx25821/cx25821-video.c