summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-06-12 14:09:49 +0900
committerJeff Garzik <jeff@garzik.org>2006-06-12 02:10:26 -0400
commit551e8889509c30cda31e464e5cbe7572c4e1febd (patch)
tree80dd36adfea622ffdf7c35a7a3496b6d1e1c7487 /drivers
parent23fa9618094975f803ed0c6a44604b16747b9637 (diff)
downloadlinux-stable-551e8889509c30cda31e464e5cbe7572c4e1febd.tar.gz
linux-stable-551e8889509c30cda31e464e5cbe7572c4e1febd.tar.bz2
linux-stable-551e8889509c30cda31e464e5cbe7572c4e1febd.zip
[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)
*
* LOCKING:
* None. Should be called with kernel context, might sleep.
+ *
+ * RETURNS:
+ * Zero on success, AC_ERR_* mask on failure
*/
-
unsigned ata_exec_internal(struct ata_device *dev,
struct ata_taskfile *tf, const u8 *cdb,
int dma_dir, void *buf, unsigned int buflen)