Changeset 45457265 in mainline for uspace/drv/bus/usb/xhci/main.c


Ignore:
Timestamp:
2018-02-03T02:14:26Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb862fd
Parents:
961a5ee
Message:

errno_t all the things!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/main.c

    r961a5ee r45457265  
    5353}
    5454
    55 static int hcd_hc_add(hc_device_t *hcd, const hw_res_list_parsed_t *hw_res)
     55static errno_t hcd_hc_add(hc_device_t *hcd, const hw_res_list_parsed_t *hw_res)
    5656{
    57         int err;
     57        errno_t err;
    5858        xhci_hc_t *hc = hcd_to_hc(hcd);
    5959        hc_device_setup(hcd, (bus_t *) &hc->bus);
     
    6868}
    6969
    70 static int hcd_irq_code_gen(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq)
     70static errno_t hcd_irq_code_gen(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq)
    7171{
    7272        xhci_hc_t *hc = hcd_to_hc(hcd);
     
    7474}
    7575
    76 static int hcd_claim(hc_device_t *hcd)
     76static errno_t hcd_claim(hc_device_t *hcd)
    7777{
    7878        xhci_hc_t *hc = hcd_to_hc(hcd);
     
    8080}
    8181
    82 static int hcd_start(hc_device_t *hcd)
     82static errno_t hcd_start(hc_device_t *hcd)
    8383{
    8484        xhci_hc_t *hc = hcd_to_hc(hcd);
     
    8686}
    8787
    88 static int hcd_hc_gone(hc_device_t *hcd)
     88static errno_t hcd_hc_gone(hc_device_t *hcd)
    8989{
    9090        xhci_hc_t *hc = hcd_to_hc(hcd);
     
    112112 * Driver debug level is set here.
    113113 */
    114 int main(int argc, char *argv[])
     114errno_t main(int argc, char *argv[])
    115115{
    116116        log_init(NAME);
Note: See TracChangeset for help on using the changeset viewer.