diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-03-22 07:48:32 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-23 15:24:05 +0100 |
commit | 6eb5d9ca9f1496108cb86f2d9bfc2db5d9c796fe (patch) | |
tree | 1fe693708ca8aed3f4f81dfb4a5c4254b4968e28 /drivers/block | |
parent | V4L/DVB (3568a): saa7114: Fix i2c block write (diff) | |
download | linux-6eb5d9ca9f1496108cb86f2d9bfc2db5d9c796fe.tar.xz linux-6eb5d9ca9f1496108cb86f2d9bfc2db5d9c796fe.zip |
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 <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions