dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* Bug in warning message from MTRR rework in uvesafb
@ 2013-07-10 17:07 Torsten Kaiser
  2013-07-10 17:36 ` Andy Lutomirski
  2013-07-10 17:51 ` Bug in warning message from MTRR rework in uvesafb Daniel Vetter
  0 siblings, 2 replies; 5+ messages in thread
From: Torsten Kaiser @ 2013-07-10 17:07 UTC (permalink / raw)
  To: Andy Lutomirski, Dave Airlie, DRI mailing list

Commit 63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75, "uvesafb: Clean up
MTRR code" contains the following change:

@@ -1930,6 +1891,9 @@ static int uvesafb_setup(char *options)
         }
     }

+    if (mtrr != 3 && mtrr != 1)
+        pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is
unsupported", mtrr);
+
     return 0;
 }
 #endif /* !MODULE */

Shouldn't this be && mtrr != 0?


HTH, Torsten

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

end of thread, other threads:[~2013-07-12 16:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-10 17:07 Bug in warning message from MTRR rework in uvesafb Torsten Kaiser
2013-07-10 17:36 ` Andy Lutomirski
2013-07-11  7:21   ` Dave Airlie
2013-07-12 16:25   ` [PATCH] uvesafb: Really allow mtrr being 0, as documented and warn()ed Sylvain 'ythier' Hitier
2013-07-10 17:51 ` Bug in warning message from MTRR rework in uvesafb Daniel Vetter

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).