]> git.baikalelectronics.ru Git - kernel.git/commit
[VIDEO] sunxvr500fb: Fix pseudo_palette array size
authorAntonino Daplas <adaplas@gmail.com>
Tue, 5 Jun 2007 20:15:26 +0000 (13:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jun 2007 20:15:26 +0000 (13:15 -0700)
commite8d638da28e5645d45c293c9fa12ed74d8b945a0
tree7588b1b02c13eb6827f527ab152aa3e6f077f9ee
parentac9b26f44fff2c14f5899af5a22f56fdf1b985f4
[VIDEO] sunxvr500fb: Fix pseudo_palette array size

- the pseudo_palette is only 16 elements long.
- the pseudo_palette has only 16 elements. Do not write if regno (the array
  index) is more than 15.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/sunxvr500.c