linux/drivers/video/aty
Olaf Hering c3760ae1f9 [PATCH] crash in aty128_set_lcd_enable() on PowerBook
Current Linus tree crashes in aty128_set_lcd_enable() because par->pdev
is NULL. This happens since at least a week. Call trace is:

aty128_set_lcd_enable
aty128fb_set_par
fbcon_init
visual_init
take_over_console
fbcon_takeover
notifier_call_chain
blocking_notifier_call_chain
register_framebuffer
aty128fb_probe
pci_device_probe
bus_for_each_dev
driver_attach
bus_add_driver
driver_register
__pci_register_driver
aty128fb_init
init
kernel_thread

- info->fix was assigned twice.

- par->vram_size is assigned in aty128_probe(), no need to redo it again
  in aty128_init()

- register_framebuffer() uses uninitialized struct members, move it past
  par->pdev assignment and past aty128_bl_init().

Signed-off-by: Olaf Hering <olh@suse.de>
Acked-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-08-06 08:57:46 -07:00
..
Makefile [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07:00
ati_ids.h
aty128fb.c [PATCH] crash in aty128_set_lcd_enable() on PowerBook 2006-08-06 08:57:46 -07:00
atyfb.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
atyfb_base.c [PATCH] powermac: More powermac backlight fixes 2006-07-31 13:28:45 -07:00
mach64_accel.c [PATCH] atyfb: Remove unneeded calls to wait_for_idle 2006-06-26 09:58:29 -07:00
mach64_ct.c
mach64_cursor.c [PATCH] atyfb: Fix section warnings 2006-06-26 09:58:31 -07:00
mach64_gx.c [PATCH] drivers/video: Use ARRAY_SIZE macro 2006-03-27 08:44:58 -08:00
radeon_accel.c
radeon_backlight.c [PATCH] powermac backlight fixes 2006-06-28 14:59:06 -07:00
radeon_base.c [PATCH] radeonfb sleep fixes 2006-07-31 13:28:45 -07:00
radeon_i2c.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
radeon_monitor.c [PATCH] radeonfb: Fix static array overrun 2006-03-11 09:19:36 -08:00
radeon_pm.c [PATCH] radeonfb sleep fixes 2006-07-31 13:28:45 -07:00
radeonfb.h [PATCH] radeonfb sleep fixes 2006-07-31 13:28:45 -07:00