Ignore:
Timestamp:
2018-01-31T02:21:24Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/utils/malloc32.h

    r132ab5d1 r5a6cc679  
    5959{
    6060        uintptr_t result;
    61         int ret = as_get_physical_mapping(addr, &result);
     61        errno_t ret = as_get_physical_mapping(addr, &result);
    6262       
    6363        if (ret != EOK)
     
    7878        size_t real_size = ALIGN_UP(size, PAGE_SIZE);
    7979
    80         const int ret = dmamem_map_anonymous(real_size,
     80        const errno_t ret = dmamem_map_anonymous(real_size,
    8181            DMAMEM_4GiB, AS_AREA_READ | AS_AREA_WRITE, 0, &phys,
    8282            &address);
Note: See TracChangeset for help on using the changeset viewer.