linux/drivers/video/i810
Antonino A. Daplas 883f645107 [PATCH] i810fb: Fix oops if CONFIG_FB_I810_I2C is set to no
Reported by: Manuel Lauss <mano@roarinelk.homelinux.net>

compiled with CONFIG_FB_I810_I2C = n and CONFIG_FB_I810 = y
it oopses at boot in file drivers/video/i810/i810_main.c:1884

...
Unable to handle kernel NULL pointer dereference at virtual address 00000054
printing eip:
c02543c0
*pde = 00000000
Oops: 0000 [#1]
last sysfs file:
Modules linked in:
CPU:    0
EIP:    0060:[<c02543c0>]    Not tainted VLI
EFLAGS: 00010286   (2.6.13-mm2)
EIP is at i810fb_find_init_mode+0x53/0x93
eax: c113ddd4   ebx: c1194000   ecx: c04be2dd   edx: c1194000
esi: c1194008   edi: c113ddd4   ebp: c1194240   esp: c113ddcc
ds: 007b   es: 007b   ss: 0068

struct fb_monspecs *specs is initialized to NULL causing the oops.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-11 20:43:47 -07:00
..
Makefile [PATCH] i810fb: Add i2c/DDC support 2005-09-09 14:03:41 -07:00
i810-i2c.c [PATCH] i810fb: Add i2c/DDC support 2005-09-09 14:03:41 -07:00
i810.h [PATCH] i810fb: Add i2c/DDC support 2005-09-09 14:03:41 -07:00
i810_accel.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810_dvt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810_gtf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810_main.c [PATCH] i810fb: Fix oops if CONFIG_FB_I810_I2C is set to no 2005-09-11 20:43:47 -07:00
i810_main.h [PATCH] i810fb: Add i2c/DDC support 2005-09-09 14:03:41 -07:00
i810_regs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00