• James Bottomley's avatar
    [SCSI] libsas: fix missing inlines in header file · 79bc1481
    James Bottomley authored
    Two functions in include/scsi/sas_ata.h don't have static inlines
    leading to problems if they're built in:
    
    On Thu, 2008-04-03 at 14:06 +0200, Toralf Förster wrote:
    > drivers/scsi/mvsas.o: In function `sas_ata_init_host_and_port':
    > mvsas.c:(.text+0x0): multiple definition of `sas_ata_init_host_and_port'
    > drivers/scsi/libsas/built-in.o:(.text+0x37f4): first defined here
    > drivers/scsi/mvsas.o: In function `sas_ata_task_abort':
    > mvsas.c:(.text+0x7): multiple definition of `sas_ata_task_abort'
    > drivers/scsi/libsas/built-in.o:(.text+0x37fb): first defined here
    > make[2]: *** [drivers/scsi/built-in.o] Error 1
    > make[1]: *** [drivers/scsi] Error 2
    > make: *** [drivers] Error 2
    
    Add the correct static inline modifiers.
    Tested-by: default avatarToralf Förster <toralf.foerster@gmx.de>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    79bc1481
Name
Last commit
Last update
..
iscsi_if.h Loading commit data...
iscsi_proto.h Loading commit data...
libiscsi.h Loading commit data...
libsas.h Loading commit data...
libsrp.h Loading commit data...
sas.h Loading commit data...
sas_ata.h Loading commit data...
scsi.h Loading commit data...
scsi_cmnd.h Loading commit data...
scsi_dbg.h Loading commit data...
scsi_device.h Loading commit data...
scsi_devinfo.h Loading commit data...
scsi_driver.h Loading commit data...
scsi_eh.h Loading commit data...
scsi_host.h Loading commit data...
scsi_ioctl.h Loading commit data...
scsi_netlink.h Loading commit data...
scsi_netlink_fc.h Loading commit data...
scsi_tcq.h Loading commit data...
scsi_tgt.h Loading commit data...
scsi_tgt_if.h Loading commit data...
scsi_transport.h Loading commit data...
scsi_transport_fc.h Loading commit data...
scsi_transport_iscsi.h Loading commit data...
scsi_transport_sas.h Loading commit data...
scsi_transport_spi.h Loading commit data...
scsi_transport_srp.h Loading commit data...
scsicam.h Loading commit data...
sd.h Loading commit data...
sg.h Loading commit data...
srp.h Loading commit data...