Changeset 7fa8589 in mainline for uspace/lib/drv/generic/remote_usbhid.c
- Timestamp:
- 2020-01-09T01:04:58Z (4 years ago)
- Children:
- bcd7775
- Parents:
- 76c8209
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2020-01-05 20:21:10)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2020-01-09 01:04:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usbhid.c
r76c8209 r7fa8589 182 182 /* Prefer return code of the opening request. */ 183 183 if (opening_request_rc != EOK) 184 return (errno_t)opening_request_rc;184 return opening_request_rc; 185 185 else 186 return (errno_t)data_request_rc;186 return data_request_rc; 187 187 } 188 188 189 189 if (opening_request_rc != EOK) 190 return (errno_t)opening_request_rc;190 return opening_request_rc; 191 191 192 192 size_t act_size = ipc_get_arg2(&data_request_call); … … 267 267 /* Prefer return code of the opening request. */ 268 268 if (opening_request_rc != EOK) 269 return (errno_t)opening_request_rc;269 return opening_request_rc; 270 270 else 271 return (errno_t)data_request_rc;271 return data_request_rc; 272 272 } 273 273 274 274 if (opening_request_rc != EOK) 275 return (errno_t)opening_request_rc;275 return opening_request_rc; 276 276 277 277 size_t act_size = ipc_get_arg2(&data_request_call);
Note:
See TracChangeset
for help on using the changeset viewer.