Antonino A. Daplas 9cd1c67434 pvr2fb: Fix oops when pseudo_palette is written
Reported by: Adrian McMenamin <adrianmcmenamin@gmail.com>

This driver will oops when the pseudo_palette[] is written as u32 but not when
written as u16.  When written as u32, it corrupts the adjacent 'mmio_base'
field of struct pvr2fb_par.  Fix by using framebuffer_alloc()/release() to
allocate struct fb_info and struct pvr2fb_par, and create the pseudo_palette[]
as part of struct pvr2fb_par.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-11 15:47:40 -07:00
..
2007-07-31 15:39:39 -07:00
2007-08-06 16:10:54 +01:00
2007-07-31 15:39:39 -07:00
2007-07-31 15:39:43 -07:00
2007-07-30 21:14:00 -04:00
2007-08-01 23:46:46 +02:00
2007-07-31 15:39:40 -07:00
2007-08-03 12:42:40 +01:00
2007-08-07 17:36:20 -04:00
2007-07-31 15:39:37 -07:00
2007-07-31 15:39:44 -07:00