From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Antonino A. Daplas" Subject: [PATCH 34/41] fbdev: Save the activate field before calling fb_check_var() Date: Wed, 25 Apr 2007 15:14:18 +0800 Message-ID: <462EFFCA.50900@gmail.com> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HgcCr-0001g6-Ii for linux-fbdev-devel@lists.sourceforge.net; Wed, 25 Apr 2007 00:46:29 -0700 Received: from wx-out-0506.google.com ([66.249.82.239]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HgcCq-0004jf-9t for linux-fbdev-devel@lists.sourceforge.net; Wed, 25 Apr 2007 00:46:29 -0700 Received: by wx-out-0506.google.com with SMTP id i30so296822wxd for ; Wed, 25 Apr 2007 00:46:27 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: Andrew Morton Cc: Linux Fbdev development list Some drivers may reset the var->activate field on fb_check_var(). This can lead to undefined behavior. For example, doing fbset -a