Changeset 3f03199 in mainline for uspace/lib/block/block.c


Ignore:
Timestamp:
2013-09-15T06:33:53Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9348862
Parents:
dd7078c (diff), 1c0cef0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

Major conflicts in USB HC drivers.
Compiles and UHCI works (qemu).
OHCI has device remove problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/block/block.c

    rdd7078c r3f03199  
    9393        fibril_mutex_lock(&dcl_lock);
    9494       
    95         list_foreach(dcl, cur) {
    96                 devcon_t *devcon = list_get_instance(cur, devcon_t, link);
     95        list_foreach(dcl, link, devcon_t, devcon) {
    9796                if (devcon->service_id == service_id) {
    9897                        fibril_mutex_unlock(&dcl_lock);
     
    124123       
    125124        fibril_mutex_lock(&dcl_lock);
    126         list_foreach(dcl, cur) {
    127                 devcon_t *d = list_get_instance(cur, devcon_t, link);
     125        list_foreach(dcl, link, devcon_t, d) {
    128126                if (d->service_id == service_id) {
    129127                        fibril_mutex_unlock(&dcl_lock);
Note: See TracChangeset for help on using the changeset viewer.