linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gen_set_var() fix?
@ 2002-08-28 10:00 Jani Monoses
  2002-08-28  9:03 ` Antonino Daplas
  2002-08-28 18:14 ` James Simmons
  0 siblings, 2 replies; 5+ messages in thread
From: Jani Monoses @ 2002-08-28 10:00 UTC (permalink / raw)
  To: linux-fbdev-devel

James
Should't gen_set_var set the var in info here as well? (when no check_var present)
BTW is gen_set_var going to stay in the new API or go away ?

--- fbgen.c.orig       Wed Aug 28 09:49:45 2002
+++ fbgen.c     Wed Aug 28 09:57:32 2002
@@ -36,7 +36,7 @@

        if (con < 0 || (memcmp(&info->var, var, sizeof(struct fb_var_screeninfo)))) {
                if (!info->fbops->fb_check_var) {
-                       *var = info->var;
+                       info->var = *var;
                        return 0;
                }


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-08-28 18:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-28 10:00 gen_set_var() fix? Jani Monoses
2002-08-28  9:03 ` Antonino Daplas
2002-08-28 12:16   ` Jani Monoses
2002-08-28  9:19     ` Geert Uytterhoeven
2002-08-28 18:14 ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).