[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)
- 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>

No differences found