Re: [PATCH 1/2] Add SATA support to libsas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 10, 2006 at 07:19:47PM -0700, Darrick J. Wong wrote:
> Hook the scsi_host_template functions in libsas to delegate
> functionality to libata when appropriate.
> 
> Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
> 
> diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c
> index b0705ee..76bbb9f 100644
> --- a/drivers/scsi/libsas/sas_discover.c
> +++ b/drivers/scsi/libsas/sas_discover.c

(...)

>  /* ---------- Domain device ---------- */
> @@ -626,4 +634,8 @@ void sas_unregister_devices(struct sas_h
>  
>  void sas_init_dev(struct domain_device *);
>  
> +extern void sas_target_destroy(struct scsi_target *);
> +extern int sas_slave_alloc(struct scsi_device *);
> +extern int sas_ioctl(struct scsi_device *sdev, int cmd, void __user *arg);
> +

Those should not be 'extern' otherwise the EXPORT_SYMBOL functions 
won't be found when the aic94xx is built as a module.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux