aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_scan.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-05-23 20:02:30 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-24 10:31:20 -0400
commit9f6aa5750de30b1ba35f6cb8de50c17b4fb59cab (patch)
treeef60189f4b8fd342bd6fd043f5952b41a2779bd7 /drivers/scsi/scsi_scan.c
parent89bbfb6bfbd4dae1ec29d6d4b3518c031b4f190c (diff)
scsi_scan.c: fix/convert functions to use kernel-doc
scsi_scan.c: fix incorrectly formatted kernel-doc notation & convert documentation of 2 functions into kernel-doc. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 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)
1252EXPORT_SYMBOL(scsilun_to_int); 1252EXPORT_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 */
1899struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost) 1896struct 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}
1921EXPORT_SYMBOL(scsi_get_host_dev); 1918EXPORT_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 */
1936void scsi_free_host_dev(struct scsi_device *sdev) 1928void scsi_free_host_dev(struct scsi_device *sdev)
1937{ 1929{