All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2o: fix init/exit section usage
@ 2005-01-07 19:30 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2005-01-07 19:30 UTC (permalink / raw)
  To: markus.lidel, akpm, lkml

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]


Fix 3 instances of bad calls to i2o_pci_free(), from init to exit
code sections:
Error: ./drivers/message/i2o/pci.o .init.text refers to 000000f7 
R_386_PC32        .exit.text
Error: ./drivers/message/i2o/pci.o .init.text refers to 000003bc 
R_386_PC32        .exit.text
Error: ./drivers/message/i2o/pci.o .init.text refers to 00000572 
R_386_PC32        .exit.text

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

diffstat:=
  drivers/message/i2o/pci.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)

---

[-- Attachment #2: i2o_init_exit.patch --]
[-- Type: text/x-patch, Size: 547 bytes --]


diff -Naurp ./drivers/message/i2o/pci.c~i2o_initexit ./drivers/message/i2o/pci.c
--- ./drivers/message/i2o/pci.c~i2o_initexit	2004-12-24 13:35:50.000000000 -0800
+++ ./drivers/message/i2o/pci.c	2005-01-07 10:44:03.388412824 -0800
@@ -83,7 +83,7 @@ int i2o_dma_realloc(struct device *dev, 
  *	Remove all allocated DMA memory and unmap memory IO regions. If MTRR
  *	is enabled, also remove it again.
  */
-static void __devexit i2o_pci_free(struct i2o_controller *c)
+static void i2o_pci_free(struct i2o_controller *c)
 {
 	struct device *dev;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-07 20:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-07 19:30 [PATCH] i2o: fix init/exit section usage Randy.Dunlap

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.