mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user