]> git.karo-electronics.de Git - linux-beck.git/commit
[VIDEO] sunxvr2500fb: Fix pseudo_palette array size
authorAntonino Daplas <adaplas@gmail.com>
Tue, 5 Jun 2007 20:15:01 +0000 (13:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jun 2007 20:15:01 +0000 (13:15 -0700)
commitf2c138638687a7ffbf0d2a0e7addfec7bab9a765
treea85ed4f1ef83a0bbdceadc59bab139c3a480f89f
parentd2fa9e05e3876198d8ab31624fe84512a0a44b45
[VIDEO] sunxvr2500fb: 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/sunxvr2500.c