All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Costabel <costabel@wanadoo.fr>
To: "linuxppc-dev@lists.linuxppc.org" <linuxppc-dev@lists.linuxppc.org>
Subject: [BUG] macmodes.c in 2.3.99-pre3-pre8
Date: Sat, 01 Apr 2000 23:10:58 +0200	[thread overview]
Message-ID: <38E665E2.6AC1353F@wanadoo.fr> (raw)


Starting from about a week ago, the 2.3.99 bitkeeper kernels screw up
the colors in Xpmac, making it unusable (8-bit color, valkyriefb
driver). XF_FBDev is working fine.

I tracked this down to what I think is a typo in the big code crossover
from offb.c to macmodes.c. In any case, the following patch fixes the
problem for me:

-- drivers/video/macmodes.c.ori	Sat Mar 25 08:25:22 2000
+++ drivers/video/macmodes.c	Sat Apr  1 22:08:08 2000
@@ -271,7 +271,7 @@
         n = n_entries - i;
         if (n > 16)
             n = 16;
-        palette_cmap.start = 1;
+        palette_cmap.start = i;
         palette_cmap.len = n;

         for (j = 0; j < n; j++) {

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2000-04-01 21:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-01 21:10 Martin Costabel [this message]
2000-04-02 19:15 ` [BUG] macmodes.c in 2.3.99-pre3-pre8 Ani Joshi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38E665E2.6AC1353F@wanadoo.fr \
    --to=costabel@wanadoo.fr \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.