diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2011-09-12 14:58:16 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-09-13 12:44:49 -0500 |
commit | f00cbc2321649c74c078784a1fc47da3b10e1a54 (patch) | |
tree | e4bf96f22176dda426bc678602aef25bc95a3564 /src/include/sys/msg.h | |
parent | 89dc4c2dc72a77bc278b388d66681e943fb6d539 (diff) | |
download | talos-hostboot-f00cbc2321649c74c078784a1fc47da3b10e1a54.tar.gz talos-hostboot-f00cbc2321649c74c078784a1fc47da3b10e1a54.zip |
Return code cleanups.
Change-Id: I375c2f895f28b73948aa384dda781b31f027719b
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/334
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/sys/msg.h')
-rw-r--r-- | src/include/sys/msg.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/sys/msg.h b/src/include/sys/msg.h index 215da312e..be7ba397a 100644 --- a/src/include/sys/msg.h +++ b/src/include/sys/msg.h @@ -171,7 +171,11 @@ ALWAYS_INLINE * * @param[in] q - message queue * @param[in] msg - message - * @return Always returns zero. + * + * @return Status of message send. + * @retval 0 - Success + * @retval -EINVAL - Invalid pointer passed to kernel. + * @retval -EINVAL - Message type is in kernel range. */ int msg_send(msg_q_t q, msg_t* msg); @@ -197,7 +201,10 @@ int msg_sendrecv(msg_q_t q, msg_t* msg); * * @param[in] q - message queue * @param[in] msg - response message + * * @return Zero on success, else negative. + * @retval -EBADF - Message was not sent synchronously. + * */ int msg_respond(msg_q_t q, msg_t* msg); |