fbdev: atafb - add palette register check
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Sat, 24 Oct 2009 15:18:23 +0000 (17:18 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 6 Dec 2009 10:18:27 +0000 (11:18 +0100)
commit8546e3ce6e37c359979b69862442f94e0ef0e03b
tree6c4a3cbac72565a3de08c623cc29b787880c2e2a
parent87fbaf6aea142b01756bbea09461daee41d93c0b
fbdev: atafb - add palette register check

Add check if palette register number is in correct range
for few drivers which miss it. The regno value comes
indirectly from user space.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/video/atafb.c