]> git.baikalelectronics.ru Git - kernel.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)
commit4e6539fd165d3e216908905b4001a1517fc761ff
tree73a0cdcac3ec6ca0257de607efcfbedc8897fc07
parent4f9906ca5f06de063a8547e9cae39d7113cb1f1f
[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