From: Dave Hansen <haveblue@us.ibm.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: ipslinux@us.ibm.com, linux-kernel@vger.kernel.org,
Mike Anderson <andmike@us.ibm.com>
Subject: [PATCH] ServeRAID driver doesn't compile
Date: Wed, 17 Jul 2002 16:23:59 -0700 [thread overview]
Message-ID: <3D35FC8F.6010002@us.ibm.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 535 bytes --]
In 2.5.26, the ServeRAID driver still doesn't compile correctly, you
get these from the vmlinux link operation:
drivers/built-in.o(.data+0xc4f4): undefined reference to `local
symbols in discarded section .text.exit'
drivers/built-in.o(.data+0xc574): undefined reference to `local
symbols in discarded section .text.exit'
drivers/built-in.o(.data+0xc5f4): undefined reference to `local
symbols in discarded section .text.exit'
This patch makes them go away and appears to be the correct fix.
--
Dave Hansen
haveblue@us.ibm.com
[-- Attachment #2: ips-compile-fix-2.5.26-1.patch --]
[-- Type: text/plain, Size: 935 bytes --]
diff -ur linux-2.5.26-clean/drivers/scsi/ips.c linux-2.5.26/drivers/scsi/ips.c
--- linux-2.5.26-clean/drivers/scsi/ips.c Tue Jul 16 16:49:22 2002
+++ linux-2.5.26/drivers/scsi/ips.c Wed Jul 17 16:21:49 2002
@@ -326,21 +326,21 @@
name: ips_hot_plug_name,
id_table: ips_pci_table,
probe: ips_insert_device,
- remove: ips_remove_device,
+ remove: __devexit_p(ips_remove_device),
};
struct pci_driver ips_pci_driver_5i = {
name: ips_hot_plug_name,
id_table: ips_pci_table_5i,
probe: ips_insert_device,
- remove: ips_remove_device,
+ remove: __devexit_p(ips_remove_device),
};
struct pci_driver ips_pci_driver_i960 = {
name: ips_hot_plug_name,
id_table: ips_pci_table_i960,
probe: ips_insert_device,
- remove: ips_remove_device,
+ remove: __devexit_p(ips_remove_device),
};
#endif
reply other threads:[~2002-07-17 23:21 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=3D35FC8F.6010002@us.ibm.com \
--to=haveblue@us.ibm.com \
--cc=andmike@us.ibm.com \
--cc=ipslinux@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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.