aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r--drivers/scsi/scsi_scan.c26
1 files changed, 9 insertions, 17 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
index a77468cd5a33..1c027a97d8b9 100644
--- a/drivers/scsi/scsi_scan.c
+++ b/drivers/scsi/scsi_scan.c
@@ -1221,7 +1221,7 @@ static void scsi_sequential_lun_scan(struct scsi_target *starget,
1221} 1221}
1222 1222
1223/** 1223/**
1224 * scsilun_to_int: convert a scsi_lun to an int 1224 * scsilun_to_int - convert a scsi_lun to an int
1225 * @scsilun: struct scsi_lun to be converted. 1225 * @scsilun: struct scsi_lun to be converted.
1226 * 1226 *
1227 * Description: 1227 * Description:
@@ -1253,7 +1253,7 @@ int scsilun_to_int(struct scsi_lun *scsilun)
1253EXPORT_SYMBOL(scsilun_to_int); 1253EXPORT_SYMBOL(scsilun_to_int);
1254 1254
1255/** 1255/**
1256 * int_to_scsilun: reverts an int into a scsi_lun 1256 * int_to_scsilun - reverts an int into a scsi_lun
1257 * @lun: integer to be reverted 1257 * @lun: integer to be reverted
1258 * @scsilun: struct scsi_lun to be set. 1258 * @scsilun: struct scsi_lun to be set.
1259 * 1259 *
@@ -1877,12 +1877,9 @@ void scsi_forget_host(struct Scsi_Host *shost)
1877 spin_unlock_irqrestore(shost->host_lock, flags); 1877 spin_unlock_irqrestore(shost->host_lock, flags);
1878} 1878}
1879 1879
1880/* 1880/**
1881 * Function: scsi_get_host_dev() 1881 * scsi_get_host_dev - Create a scsi_device that points to the host adapter itself
1882 * 1882 * @shost: Host that needs a scsi_device
1883 * Purpose: Create a scsi_device that points to the host adapter itself.
1884 *
1885 * Arguments: SHpnt - Host that needs a scsi_device
1886 * 1883 *
1887 * Lock status: None assumed. 1884 * Lock status: None assumed.
1888 * 1885 *
@@ -1895,7 +1892,7 @@ void scsi_forget_host(struct Scsi_Host *shost)
1895 * 1892 *
1896 * Note - this device is not accessible from any high-level 1893 * Note - this device is not accessible from any high-level
1897 * drivers (including generics), which is probably not 1894 * drivers (including generics), which is probably not
1898 * optimal. We can add hooks later to attach 1895 * optimal. We can add hooks later to attach.
1899 */ 1896 */
1900struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost) 1897struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost)
1901{ 1898{
@@ -1921,18 +1918,13 @@ struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost)
1921} 1918}
1922EXPORT_SYMBOL(scsi_get_host_dev); 1919EXPORT_SYMBOL(scsi_get_host_dev);
1923 1920
1924/* 1921/**
1925 * Function: scsi_free_host_dev() 1922 * scsi_free_host_dev - Free a scsi_device that points to the host adapter itself
1926 * 1923 * @sdev: Host device to be freed
1927 * Purpose: Free a scsi_device that points to the host adapter itself.
1928 *
1929 * Arguments: SHpnt - Host that needs a scsi_device
1930 * 1924 *
1931 * Lock status: None assumed. 1925 * Lock status: None assumed.
1932 * 1926 *
1933 * Returns: Nothing 1927 * Returns: Nothing
1934 *
1935 * Notes:
1936 */ 1928 */
1937void scsi_free_host_dev(struct scsi_device *sdev) 1929void scsi_free_host_dev(struct scsi_device *sdev)
1938{ 1930{