]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fbdev: Fix crashes in various fbdev's blank routines
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 31 Aug 2006 04:04:34 +0000 (14:04 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 31 Aug 2006 04:21:55 +0000 (21:21 -0700)
commit98a3c781057fa43494e7e8b39d639e93fca0ecbf
tree73a0cdcac3ec6ca0257de607efcfbedc8897fc07
parent9129d6ea475b7e9f216c8324ea05b7a0d8aba540
[PATCH] fbdev: Fix crashes in various fbdev's blank routines

The backlight changes that went in had a bug where they could cause the
kernel to access an unitialized pointer when blanking if there is no
backlight control on a machine.

The bug affects atyfb, aty128fb, nvidiafb and rivafb.  radeonfb seems to
be ok.  This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/aty/aty128fb.c
drivers/video/aty/atyfb_base.c
drivers/video/nvidia/nv_backlight.c
drivers/video/riva/fbdev.c