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