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

No differences found