diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2014-08-16 17:15:11 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-15 19:01:57 -0400 |
commit | 74cf298fedfcb732335cae5d157e95295e87cf2a (patch) | |
tree | d47982a0a2153700560ee0d76fb5fae05f798f74 /drivers/scsi/scsi_error.c | |
parent | 4b8c6ba616deab7ddf2725f5833cf027a149987f (diff) |
scsi: fix various kernel-doc problems in scsi_error.c
Convert spaces to tabs in kernel-doc notation.
Correct duplicated (copy-paste) kernel-doc comments that are incorrect.
Fix kernel-doc warning:
Warning(..//drivers/scsi/scsi_error.c:1647): No description found for parameter 'shost'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
-rw-r--r-- | drivers/scsi/scsi_error.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 5db8454474ee..6b20ef3fee54 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c | |||
@@ -1238,9 +1238,9 @@ retry_tur: | |||
1238 | /** | 1238 | /** |
1239 | * scsi_eh_test_devices - check if devices are responding from error recovery. | 1239 | * scsi_eh_test_devices - check if devices are responding from error recovery. |
1240 | * @cmd_list: scsi commands in error recovery. | 1240 | * @cmd_list: scsi commands in error recovery. |
1241 | * @work_q: queue for commands which still need more error recovery | 1241 | * @work_q: queue for commands which still need more error recovery |
1242 | * @done_q: queue for commands which are finished | 1242 | * @done_q: queue for commands which are finished |
1243 | * @try_stu: boolean on if a STU command should be tried in addition to TUR. | 1243 | * @try_stu: boolean on if a STU command should be tried in addition to TUR. |
1244 | * | 1244 | * |
1245 | * Decription: | 1245 | * Decription: |
1246 | * Tests if devices are in a working state. Commands to devices now in | 1246 | * Tests if devices are in a working state. Commands to devices now in |
@@ -1373,7 +1373,7 @@ static int scsi_eh_try_stu(struct scsi_cmnd *scmd) | |||
1373 | /** | 1373 | /** |
1374 | * scsi_eh_stu - send START_UNIT if needed | 1374 | * scsi_eh_stu - send START_UNIT if needed |
1375 | * @shost: &scsi host being recovered. | 1375 | * @shost: &scsi host being recovered. |
1376 | * @work_q: &list_head for pending commands. | 1376 | * @work_q: &list_head for pending commands. |
1377 | * @done_q: &list_head for processed commands. | 1377 | * @done_q: &list_head for processed commands. |
1378 | * | 1378 | * |
1379 | * Notes: | 1379 | * Notes: |
@@ -1436,7 +1436,7 @@ static int scsi_eh_stu(struct Scsi_Host *shost, | |||
1436 | /** | 1436 | /** |
1437 | * scsi_eh_bus_device_reset - send bdr if needed | 1437 | * scsi_eh_bus_device_reset - send bdr if needed |
1438 | * @shost: scsi host being recovered. | 1438 | * @shost: scsi host being recovered. |
1439 | * @work_q: &list_head for pending commands. | 1439 | * @work_q: &list_head for pending commands. |
1440 | * @done_q: &list_head for processed commands. | 1440 | * @done_q: &list_head for processed commands. |
1441 | * | 1441 | * |
1442 | * Notes: | 1442 | * Notes: |
@@ -1502,7 +1502,7 @@ static int scsi_eh_bus_device_reset(struct Scsi_Host *shost, | |||
1502 | /** | 1502 | /** |
1503 | * scsi_eh_target_reset - send target reset if needed | 1503 | * scsi_eh_target_reset - send target reset if needed |
1504 | * @shost: scsi host being recovered. | 1504 | * @shost: scsi host being recovered. |
1505 | * @work_q: &list_head for pending commands. | 1505 | * @work_q: &list_head for pending commands. |
1506 | * @done_q: &list_head for processed commands. | 1506 | * @done_q: &list_head for processed commands. |
1507 | * | 1507 | * |
1508 | * Notes: | 1508 | * Notes: |
@@ -1567,7 +1567,7 @@ static int scsi_eh_target_reset(struct Scsi_Host *shost, | |||
1567 | /** | 1567 | /** |
1568 | * scsi_eh_bus_reset - send a bus reset | 1568 | * scsi_eh_bus_reset - send a bus reset |
1569 | * @shost: &scsi host being recovered. | 1569 | * @shost: &scsi host being recovered. |
1570 | * @work_q: &list_head for pending commands. | 1570 | * @work_q: &list_head for pending commands. |
1571 | * @done_q: &list_head for processed commands. | 1571 | * @done_q: &list_head for processed commands. |
1572 | */ | 1572 | */ |
1573 | static int scsi_eh_bus_reset(struct Scsi_Host *shost, | 1573 | static int scsi_eh_bus_reset(struct Scsi_Host *shost, |
@@ -1638,8 +1638,9 @@ static int scsi_eh_bus_reset(struct Scsi_Host *shost, | |||
1638 | 1638 | ||
1639 | /** | 1639 | /** |
1640 | * scsi_eh_host_reset - send a host reset | 1640 | * scsi_eh_host_reset - send a host reset |
1641 | * @work_q: list_head for processed commands. | 1641 | * @shost: host to be reset. |
1642 | * @done_q: list_head for processed commands. | 1642 | * @work_q: &list_head for pending commands. |
1643 | * @done_q: &list_head for processed commands. | ||
1643 | */ | 1644 | */ |
1644 | static int scsi_eh_host_reset(struct Scsi_Host *shost, | 1645 | static int scsi_eh_host_reset(struct Scsi_Host *shost, |
1645 | struct list_head *work_q, | 1646 | struct list_head *work_q, |
@@ -1677,8 +1678,8 @@ static int scsi_eh_host_reset(struct Scsi_Host *shost, | |||
1677 | 1678 | ||
1678 | /** | 1679 | /** |
1679 | * scsi_eh_offline_sdevs - offline scsi devices that fail to recover | 1680 | * scsi_eh_offline_sdevs - offline scsi devices that fail to recover |
1680 | * @work_q: list_head for processed commands. | 1681 | * @work_q: &list_head for pending commands. |
1681 | * @done_q: list_head for processed commands. | 1682 | * @done_q: &list_head for processed commands. |
1682 | */ | 1683 | */ |
1683 | static void scsi_eh_offline_sdevs(struct list_head *work_q, | 1684 | static void scsi_eh_offline_sdevs(struct list_head *work_q, |
1684 | struct list_head *done_q) | 1685 | struct list_head *done_q) |
@@ -2043,8 +2044,8 @@ static void scsi_restart_operations(struct Scsi_Host *shost) | |||
2043 | 2044 | ||
2044 | /** | 2045 | /** |
2045 | * scsi_eh_ready_devs - check device ready state and recover if not. | 2046 | * scsi_eh_ready_devs - check device ready state and recover if not. |
2046 | * @shost: host to be recovered. | 2047 | * @shost: host to be recovered. |
2047 | * @work_q: &list_head for pending commands. | 2048 | * @work_q: &list_head for pending commands. |
2048 | * @done_q: &list_head for processed commands. | 2049 | * @done_q: &list_head for processed commands. |
2049 | */ | 2050 | */ |
2050 | void scsi_eh_ready_devs(struct Scsi_Host *shost, | 2051 | void scsi_eh_ready_devs(struct Scsi_Host *shost, |