mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[IA64-SGI] fixes for XPC disengage and open/close protocol
This patch addresses a few issues with the open/close protocol that were revealed by the newly added disengage functionality combined with more extensive testing. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Tony Luck <[email protected]>
This commit is contained in:
parent
a607c38971
commit
e54af724c1
5 changed files with 208 additions and 90 deletions
|
|
@ -225,7 +225,9 @@ enum xpc_retval {
|
|||
|
||||
xpcDisconnecting, /* 49: channel disconnecting (closing) */
|
||||
|
||||
xpcUnknownReason /* 50: unknown reason -- must be last in list */
|
||||
xpcOpenCloseError, /* 50: channel open/close protocol error */
|
||||
|
||||
xpcUnknownReason /* 51: unknown reason -- must be last in list */
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -350,7 +352,7 @@ typedef void (*xpc_notify_func)(enum xpc_retval reason, partid_t partid,
|
|||
*
|
||||
* The 'func' field points to the function to call when aynchronous
|
||||
* notification is required for such events as: a connection established/lost,
|
||||
* or an incomming message received, or an error condition encountered. A
|
||||
* or an incoming message received, or an error condition encountered. A
|
||||
* non-NULL 'func' field indicates that there is an active registration for
|
||||
* the channel.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue