summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
authorLuck, Tony <tony.luck@intel.com>2010-08-23 22:18:02 +0200
committerJeff Garzik <jgarzik@redhat.com>2010-10-22 02:21:04 +0200
commitc43d559f0423816bb2918d892131d21c51816c3d (patch)
tree4bf97746e892819999633cb9fca02c3abd1cc278 /drivers/ata/libata-eh.c
parentdrivers/ata/libata-transport.c: include linux/slab.h (diff)
downloadlinux-c43d559f0423816bb2918d892131d21c51816c3d.tar.xz
linux-c43d559f0423816bb2918d892131d21c51816c3d.zip
[libata] Fix section mismatch: ata_sff_exit
This build error showed up in linux-next tag next-20100820 for ia64: WARNING: vmlinux.o(.init.text+0x4a952): Section mismatch in reference from the function ata_init() to the function .exit.text:ata_sff_exit() The function __init ata_init() references a function __exit ata_sff_exit(). This is often seen when error handling in the init function uses functionality in the exit path. The fix is often to remove the __exit annotation of ata_sff_exit() so it may be used outside an exit section. Sure enough, dropping the __exit fixes the problem. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions