diff options
author | Duncan Sands <baldrick@free.fr> | 2006-04-02 09:14:57 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-05-13 00:54:35 +0200 |
commit | 3203f94a25ea04b3052d22c7be9518538862d88f (patch) | |
tree | 5227daa69929027e83e49be2c169891fda76cfc5 /mm/sparse.c | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 (diff) | |
download | linux-3203f94a25ea04b3052d22c7be9518538862d88f.tar.xz linux-3203f94a25ea04b3052d22c7be9518538862d88f.zip |
V4L/DVB (3704): Fix some errors on bttv_risc_overlay
There are tree mistakes on bttv_risc_overlay.
1) When skip_odd is true, the number of lines for which
instructions are written is (height+1)/2, not height/2.
2) This occurs when clipping: the number of instruction bytes
written can be as much as 8 + 12*nclips, not 8 + 8*nclips, as
currently estimated.
3) Coverity check were wrong with nskips=0, since it means that
it can clipped at most one line.
Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions