mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 13:37:10 +00:00
Tools:acrn-manager Fix wrong descrition of mngr_send_msg()
There is a mistake on description for mngr_send_msg() in acrn_mngr.h We mistake the ack_len to req_len Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
This commit is contained in:
parent
b7ad7052bd
commit
64515cfe58
@ -271,11 +271,11 @@ int mngr_add_handler(int desc, unsigned id,
|
|||||||
* @param desc: descripter created using mngr_open_un
|
* @param desc: descripter created using mngr_open_un
|
||||||
* @param req: pointer to message to send
|
* @param req: pointer to message to send
|
||||||
* @param ack: pointer to ack struct, NULL if no ack required
|
* @param ack: pointer to ack struct, NULL if no ack required
|
||||||
* @param len: size in byte of the message to send
|
* @param ack_len: size in byte of the expected ack message
|
||||||
* @param timeout: time to wait for ack, zero to blocking waiting
|
* @param timeout: time to wait for ack, zero to blocking waiting
|
||||||
* @return len of ack messsage (0 if ack is NULL) on succes, errno on error
|
* @return len of ack messsage (0 if ack is NULL) on succes, errno on error
|
||||||
*/
|
*/
|
||||||
int mngr_send_msg(int desc, struct mngr_msg *req, struct mngr_msg *ack,
|
int mngr_send_msg(int desc, struct mngr_msg *req, struct mngr_msg *ack,
|
||||||
size_t len, unsigned timeout);
|
size_t ack_len, unsigned timeout);
|
||||||
|
|
||||||
#endif /* ACRN_MANAGER_H */
|
#endif /* ACRN_MANAGER_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user