Changeset 338d54a7 in mainline for uspace/drv/hid/usbhid/kbd/kbddev.c
- Timestamp:
- 2018-03-10T22:55:07Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 850fd32
- Parents:
- 5ef16903
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/usbhid/kbd/kbddev.c
r5ef16903 r338d54a7 165 165 const sysarg_t method = IPC_GET_IMETHOD(*icall); 166 166 usb_kbd_t *kbd_dev = ddf_fun_data_get(fun); 167 async_sess_t *sess; 167 168 168 169 switch (method) { … … 174 175 /* This might be ugly but async_callback_receive_start makes no 175 176 * difference for incorrect call and malloc failure. */ 176 case IPC_M_CONNECT_TO_ME: { 177 async_sess_t *sess = 178 async_callback_receive_start(EXCHANGE_SERIALIZE, icall); 177 case IPC_M_CONNECT_TO_ME: 178 sess = async_callback_receive_start(EXCHANGE_SERIALIZE, icall); 179 179 /* Probably ENOMEM error, try again. */ 180 180 if (sess == NULL) { … … 194 194 } 195 195 break; 196 }197 196 default: 198 197 usb_log_error("%s: Unknown method: %d.",
Note:
See TracChangeset
for help on using the changeset viewer.