* [PATCH] ServeRAID driver doesn't compile
@ 2002-07-17 23:23 Dave Hansen
0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2002-07-17 23:23 UTC (permalink / raw)
To: Linus Torvalds; +Cc: ipslinux, linux-kernel, Mike Anderson
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-17 23:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-17 23:23 [PATCH] ServeRAID driver doesn't compile Dave Hansen
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.