~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/lib/c/generic/devman.c

MergeĀ mainlineĀ changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
        devman_exchange_end(exch);
188
188
        
189
189
        if (retval != EOK) {
190
 
                async_wait_for(req, NULL);
 
190
                async_forget(req);
191
191
                return retval;
192
192
        }
193
193
        
225
225
        sysarg_t retval = async_data_write_start(exch, name, str_size(name));
226
226
        if (retval != EOK) {
227
227
                devman_exchange_end(exch);
228
 
                async_wait_for(req, NULL);
 
228
                async_forget(req);
229
229
                return retval;
230
230
        }
231
231
        
241
241
                    str_size(match_id->id));
242
242
                if (retval != EOK) {
243
243
                        devman_exchange_end(exch);
244
 
                        async_wait_for(req2, NULL);
245
 
                        async_wait_for(req, NULL);
 
244
                        async_forget(req2);
 
245
                        async_forget(req);
246
246
                        return retval;
247
247
                }
248
248
                
249
249
                async_wait_for(req2, &retval);
250
250
                if (retval != EOK) {
251
251
                        devman_exchange_end(exch);
252
 
                        async_wait_for(req, NULL);
 
252
                        async_forget(req);
253
253
                        return retval;
254
254
                }
255
255
        }
282
282
        devman_exchange_end(exch);
283
283
        
284
284
        if (retval != EOK) {
285
 
                async_wait_for(req, NULL);
 
285
                async_forget(req);
286
286
                return retval;
287
287
        }
288
288
        
385
385
        devman_exchange_end(exch);
386
386
        
387
387
        if (retval != EOK) {
388
 
                async_wait_for(req, NULL);
 
388
                async_forget(req);
389
389
                return retval;
390
390
        }
391
391
        
422
422
        devman_exchange_end(exch);
423
423
        
424
424
        if (dretval != EOK) {
425
 
                async_wait_for(req, NULL);
 
425
                async_forget(req);
426
426
                return dretval;
427
427
        }
428
428
        
487
487
        devman_exchange_end(exch);
488
488
        
489
489
        if (rc != EOK) {
490
 
                async_wait_for(req, NULL);
 
490
                async_forget(req);
491
491
                return rc;
492
492
        }
493
493