mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Juha Pahkala <juhis@trinity.is-a-geek.com>
To: linux-kernel@vger.kernel.org
Subject: Re: matroxfb not working after trying to upgrade to 2.6.3
Date: Mon, 23 Feb 2004 12:57:01 +0000 (UTC)	[thread overview]
Message-ID: <loom.20040223T134724-944@post.gmane.org> (raw)
In-Reply-To: <loom.20040223T132140-441@post.gmane.org>

Juha <juhis <at> trinity.is-a-geek.com> writes:

> 
> 



by the way, I forgot this one the first time:

I had to apply this patch, found from the lkml archives, in order for
matroxfb_maven not to segfault when inserting the module.

--- gold-2.6/drivers/video/matrox/matroxfb_maven.c      2003-10-25
14:42:44.000000000 -0400
+++ linux-2.6.0/drivers/video/matrox/matroxfb_maven.c   2003-12-22
21:55:04.082725504 -0500
@@ -1249,6 +1249,7 @@
                err = -ENOMEM;
                goto ERROR0;
        }
+       memset(new_client, 0, sizeof(*new_client) + sizeof(*data));
        data = (struct maven_data*)(new_client + 1);
        i2c_set_clientdata(new_client, data);
        new_client->addr = address;



juhis





  reply	other threads:[~2004-02-23 12:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23 12:35 Juha
2004-02-23 12:57 ` Juha Pahkala [this message]
2004-02-23 14:13 Petr Vandrovec
2004-02-23 20:13 ` Juha Pahkala

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=loom.20040223T134724-944@post.gmane.org \
    --to=juhis@trinity.is-a-geek.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®