|
From: <vl...@us...> - 2014-05-17 00:18:46
|
Revision: 5523
http://sourceforge.net/p/scst/svn/5523
Author: vlnb
Date: 2014-05-17 00:18:42 +0000 (Sat, 17 May 2014)
Log Message:
-----------
scst_lib: Clarify scst_init_cmd() documentation
The possible return values of scst_init_cmd() are -1, 0 and 1. Mention
this in the comment header above that function.
Signed-off-by: Bart Van Assche <bva...@ac...>
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2014-05-16 02:37:29 UTC (rev 5522)
+++ trunk/scst/src/scst_targ.c 2014-05-17 00:18:42 UTC (rev 5523)
@@ -294,8 +294,9 @@
EXPORT_SYMBOL(scst_rx_cmd);
/*
- * No locks, but might be on IRQ. Returns 0 on success, <0 if processing of
- * this command should be stopped.
+ * No locks, but might be on IRQ. Returns:
+ * - < 0 if the caller must not perform any further processing of @cmd;
+ * - >= 0 if the caller must continue processing @cmd.
*/
static int scst_init_cmd(struct scst_cmd *cmd, enum scst_exec_context *context)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|