From: Joe Korty Date: Tue, 2 Oct 2007 21:38:08 +0000 (-0700) Subject: [SCSI] dpt_i2o: Fix section mismatch X-Git-Tag: v2.6.24-rc1~1290^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89932697ce742c094916d8270c282042b24776b3;p=pandora-kernel.git [SCSI] dpt_i2o: Fix section mismatch Fix section mismatch in the Adaptec DPT SCSI Raid driver. WARNING: vmlinux.o(.init.text+0x1fcd2): Section mismatch: reference to .exit.text:adpt_exit (between 'adpt_init' and 'ahc_linux_init') This warning is due to adaptec device detection calling the exit routine on failure to properly register the adaptec device. The exit routine + call was added on July 30 by Commit: 55d9fcf57ba5ec427544fca7abc335cf3da78160 Author: Matthew Wilcox Subject: [SCSI] dpt_i2o: convert to SCSI hotplug model. Mathew: isn't a module exit routine a little too strong to be calling on the failure of a single device? Module exit implies that other, non-failing adaptec raid devices will also get shut down. Signed-off-by: Joe Korty Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- Reading git-diff-tree failed