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 <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5523 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2014-05-17 00:18:42 +00:00
parent 3613f37413
commit 0bf5a3ca92

View File

@@ -294,8 +294,9 @@ out:
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)
{