]> err.no Git - linux-2.6/commit
fbdev: save the activate field before calling fb_check_var()
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:39:22 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:31 +0000 (11:15 -0700)
commit4941cb7a18fd84d4d8cd097d2beada3c79c8f781
tree0f7419539b1d056da12b1124e0a33992a3a00432
parent38b4982c6388ae9596f959e3d7fef91affbd181d
fbdev: save the activate field before calling fb_check_var()

Some drivers may reset the var->activate field on fb_check_var(). This can
lead to undefined behavior. For example, doing fbset -a <option> with vga16fb
will only modify the active console instead of modifying all.

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>
drivers/video/fbmem.c