From: Jean Delvare Date: Wed, 22 Mar 2006 06:48:32 +0000 (-0300) Subject: V4L/DVB (3568b): saa7111: Prevent array overrun X-Git-Tag: v2.6.17-rc1~996^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eb5d9ca9f1496108cb86f2d9bfc2db5d9c796fe;p=pandora-kernel.git V4L/DVB (3568b): saa7111: Prevent array overrun Explicitely state the number of registers the SAA7111 has, and use that defined value where relevant. This should prevent any future array overrun like the one I just fixed in the saa7110 driver. This patch also saves 8 bytes of memory as a side effect, as the register cache was larger than needed. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed