Changeset d836630 in mainline


Ignore:
Timestamp:
2018-12-05T06:24:19Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bbe20da
Parents:
3694ced
Message:

Add missing calls to refcount_init()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r3694ced rd836630  
    526526                return NULL;
    527527
     528        refcount_init(&dev->refcnt);
     529
    528530        return dev;
    529531}
     
    541543                return NULL;
    542544
     545        refcount_init(&fun->refcnt);
    543546        init_match_ids(&fun->match_ids);
    544547        link_initialize(&fun->link);
Note: See TracChangeset for help on using the changeset viewer.