Changeset 5a6cc679 in mainline for uspace/lib/usbhost/src/hcd.c


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/src/hcd.c

    r132ab5d1 r5a6cc679  
    107107 * Worker for the HW interrupt replacement fibril.
    108108 */
    109 static int interrupt_polling(void *arg)
     109static errno_t interrupt_polling(void *arg)
    110110{
    111111        bus_t *bus = arg;
     
    154154 * @return Negative error code.
    155155 */
    156 static int hcd_ddf_setup_interrupts(hc_device_t *hcd, const hw_res_list_parsed_t *hw_res)
     156static errno_t hcd_ddf_setup_interrupts(hc_device_t *hcd, const hw_res_list_parsed_t *hw_res)
    157157{
    158158        assert(hcd);
     
    163163
    164164        int irq;
    165         int ret;
     165        errno_t ret;
    166166        ret = hc_driver->irq_code_gen(&irq_code, hcd, hw_res, &irq);
    167167        if (ret != EOK) {
     
    205205 * @return Error code
    206206 */
    207 int hc_dev_add(ddf_dev_t *device)
    208 {
    209         int ret = EOK;
     207errno_t hc_dev_add(ddf_dev_t *device)
     208{
     209        errno_t ret = EOK;
    210210        assert(device);
    211211
     
    311311}
    312312
    313 int hc_dev_remove(ddf_dev_t *dev)
    314 {
    315         int err;
     313errno_t hc_dev_remove(ddf_dev_t *dev)
     314{
     315        errno_t err;
    316316        hc_device_t *hcd = dev_to_hcd(dev);
    317317
     
    333333}
    334334
    335 int hc_dev_gone(ddf_dev_t *dev)
    336 {
    337         int err = ENOTSUP;
     335errno_t hc_dev_gone(ddf_dev_t *dev)
     336{
     337        errno_t err = ENOTSUP;
    338338        hc_device_t *hcd = dev_to_hcd(dev);
    339339
     
    346346}
    347347
    348 int hc_fun_online(ddf_fun_t *fun)
     348errno_t hc_fun_online(ddf_fun_t *fun)
    349349{
    350350        assert(fun);
Note: See TracChangeset for help on using the changeset viewer.