Changeset 7fa8589 in mainline for uspace/lib/drv
- Timestamp:
- 2020-01-09T01:04:58Z (6 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)
- Location:
- uspace/lib/drv/generic
- Files:
-
- 4 edited
-
remote_ieee80211.c (modified) (4 diffs)
-
remote_usbdiag.c (modified) (2 diffs)
-
remote_usbhc.c (modified) (3 diffs)
-
remote_usbhid.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_ieee80211.c
r76c8209 r7fa8589 79 79 80 80 if (res != EOK) 81 return (errno_t)res;81 return res; 82 82 83 83 return rc; … … 144 144 145 145 if (rc_orig == EOK) 146 return (errno_t)rc;147 148 return (errno_t)rc_orig;146 return rc; 147 148 return rc_orig; 149 149 } 150 150 … … 159 159 160 160 if (rc_orig == EOK) 161 return (errno_t)rc;162 163 return (errno_t)rc_orig;161 return rc; 162 163 return rc_orig; 164 164 } 165 165 … … 182 182 rc = dhcp_discover(link_id); 183 183 184 return (errno_t)rc;184 return rc; 185 185 } 186 186 -
uspace/lib/drv/generic/remote_usbdiag.c
r76c8209 r7fa8589 89 89 async_wait_for(req, &retval); 90 90 91 return (errno_t)retval;91 return retval; 92 92 } 93 93 … … 123 123 async_wait_for(req, &retval); 124 124 125 return (errno_t)retval;125 return retval; 126 126 } 127 127 -
uspace/lib/drv/generic/remote_usbhc.c
r76c8209 r7fa8589 138 138 139 139 if (opening_request_rc) 140 return (errno_t)opening_request_rc;140 return opening_request_rc; 141 141 142 142 usb_pipe_desc_t dest; … … 174 174 async_wait_for(opening_request, &opening_request_rc); 175 175 176 return (errno_t)opening_request_rc;176 return opening_request_rc; 177 177 } 178 178 … … 223 223 *transferred = ipc_get_arg1(&call); 224 224 225 return (errno_t)opening_request_rc;225 return opening_request_rc; 226 226 } 227 227 -
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.
