mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Patrick Mau <mau@oscar.prima.de>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] compile fix for matrox fb 2.5.2-9
Date: Sun, 6 Jan 2002 16:07:51 +0100	[thread overview]
Message-ID: <20020106150751.GA23321@oscar.dorf.de> (raw)

Hello all,

attached is a small compile fix for matroxfb.
I'm still unable to link it because of the binutils issues.

I lost the perl script, maybe someone allready has a fix ?

drivers/char/char.o(.data+0x46b4): undefined reference to `local symbols in discarded section .text.exit'
drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in discarded section .text.exit'
make: *** [vmlinux] Error 1

cheers,
Patrick

--- linux-2.5.2-9/drivers/video/matrox/matroxfb_base.c	Fri Nov 23 21:05:59 2001
+++ work-2.5.2-9/drivers/video/matrox/matroxfb_base.c	Sun Jan  6 15:57:18 2002
@@ -1789,7 +1789,7 @@
 
 	strcpy(ACCESS_FBINFO(fbcon.modename), "MATROX VGA");
 	ACCESS_FBINFO(fbcon.changevar) = NULL;
-	ACCESS_FBINFO(fbcon.node) = -1;
+	ACCESS_FBINFO(fbcon.node) = to_kdev_t(-1);
 	ACCESS_FBINFO(fbcon.fbops) = &matroxfb_ops;
 	ACCESS_FBINFO(fbcon.disp) = d;
 	ACCESS_FBINFO(fbcon.switch_con) = &matroxfb_switch;


                 reply	other threads:[~2002-01-06 15:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020106150751.GA23321@oscar.dorf.de \
    --to=mau@oscar.prima.de \
    --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®