drivers missing __devexit_p in 2.4.18pre3
A quick check of the source code shows that the following drivers appear to still be lacking the devinit fixes which are needed for the kernel to compile when using newer versions of binutils.
Each of these files probably needs the following (though I'm too lazy to do it all myself, since my kernel doesn't use any of this stuff):
s/remove:\(.*\)/remove:__devexit_p(\1)/g
drivers/net/wan/dscc4.cdrivers/net/tokenring/abyss.cdrivers/net/tokenring/tmspci.cdrivers/net/pcnet32.cdrivers/net/sis900.cdrivers/net/dmfe.cdrivers/net/rcpci45.cdrivers/net/hamachi.cdrivers/net/wireless/orinoco_plx.cdrivers/char/synclink.cdrivers/char/n_r3964.cdrivers/char/wdt_pci.cdrivers/scsi/tmscsim.cdrivers/scsi/aic7xxx/aic7xxx_linux_pci.cdrivers/sound/es1370.cdrivers/sound/maestro.cdrivers/sound/trident.cdrivers/sound/es1371.cdrivers/sound/cs4281/cs4281m.cdrivers/sound/i810_audio.cdrivers/sound/sonicvibes.cdrivers/sound/esssolo1.cdrivers/sound/maestro3.cdrivers/sound/cs46xx.cdrivers/sound/nm256_audio.cdrivers/sound/via82cxxx_audio.cdrivers/sound/rme96xx.cdrivers/sound/ite8172.cdrivers/sound/nec_vrc5477.cdrivers/video/matrox/matroxfb_base.cdrivers/video/matrox/matroxfb_crtc2.cdrivers/video/matrox/matroxfb_g450.cdrivers/ieee1394/pcilynx.cdrivers/mtd/ftl.cdrivers/mtd/mtdchar.cdrivers/mtd/nftlcore.cdrivers/message/fusion/mptscsih.cdrivers/hotplug/cpqphp_core.c
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
Quoted 9 lines · Erik Andersen
A quick check of the source code shows that the following drivers appear to still be lacking the devinit fixes which are needed for the kernel to compile when using newer versions of binutils.
Each of these files probably needs the following (though I'm too lazy to do it all myself, since my kernel doesn't use any of this stuff):
s/remove:\(.*\)/remove:__devexit_p(\1)/g
Don't do that. You are blindly converting all remove entries to use __devexit_p but __devexit_p should only be used when the function itself is declared as __devexit.
I went through the entire kernel looking for uses of __devexit and manually checked each reference to those functions, changing only the functions that used __devexit. I might have missed one or two but I guarantee that your list is wrong, picking three files at random, none of them use __devexit.
Quoted 11 lines · Erik Andersen
A quick check of the source code shows that the following drivers appear to still be lacking the devinit fixes which are needed for the kernel to compile when using newer versions of binutils.
Each of these files probably needs the following (though I'm too lazy to do it all myself, since my kernel doesn't use any of this stuff):
s/remove:\(.*\)/remove:__devexit_p(\1)/g
Quoted 9 lines
drivers/net/wan/dscc4.cdrivers/net/tokenring/abyss.cdrivers/net/tokenring/tmspci.cdrivers/net/pcnet32.cdrivers/net/sis900.cdrivers/net/dmfe.cdrivers/net/rcpci45.cdrivers/net/hamachi.cdrivers/net/wireless/orinoco_plx.c
I dunno if all of these qualify as hotplug drivers, needing __devfoo at all?
Signature · 4 lines
Jeff Garzik | Alternate titles for LOTR:
Building 1024 | Fast Times at Uruk-Hai
MandrakeSoft | The Took, the Elf, His Daughter and Her Lover
| Samwise Gamgee: International Hobbit of Mystery