aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-06-12 01:09:49 -0400
committerJeff Garzik <jeff@garzik.org>2006-06-12 02:10:26 -0400
commit551e8889509c30cda31e464e5cbe7572c4e1febd (patch)
tree80dd36adfea622ffdf7c35a7a3496b6d1e1c7487 /drivers
parent23fa9618094975f803ed0c6a44604b16747b9637 (diff)
[PATCH] libata: fix comment above ata_exec_internal()
Add RETURNS comment above ata_exec_internal() and kill extra blank line. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/libata-core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index ddaad1a4f1f1..014855e5a43a 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -981,8 +981,10 @@ void ata_qc_complete_internal(struct ata_queued_cmd *qc)
981 * 981 *
982 * LOCKING: 982 * LOCKING:
983 * None. Should be called with kernel context, might sleep. 983 * None. Should be called with kernel context, might sleep.
984 *
985 * RETURNS:
986 * Zero on success, AC_ERR_* mask on failure
984 */ 987 */
985
986unsigned ata_exec_internal(struct ata_device *dev, 988unsigned ata_exec_internal(struct ata_device *dev,
987 struct ata_taskfile *tf, const u8 *cdb, 989 struct ata_taskfile *tf, const u8 *cdb,
988 int dma_dir, void *buf, unsigned int buflen) 990 int dma_dir, void *buf, unsigned int buflen)