]> git.karo-electronics.de Git - linux-beck.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)
commite7e8cc5ae63c39dbbbb5f14c5120bdf2d931fac9
tree7588b1b02c13eb6827f527ab152aa3e6f077f9ee
parentf2c138638687a7ffbf0d2a0e7addfec7bab9a765
[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