Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 9f5b613 in mainline


Ignore:
Timestamp:
2017-07-29T20:35:21Z (3 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
master
Children:
0cabd10
Parents:
66dcc24
Message:

Fixed assert assignment typo.

File:
1 edited

Legend:

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

    r66dcc24 r9f5b613  
    132132        if (cmd_link != NULL) {
    133133                list_remove(cmd_link);
    134                
     134
    135135                return list_get_instance(cmd_link, xhci_cmd_t, link);
    136136        }
     
    163163
    164164static inline xhci_cmd_t *add_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd)
    165 { 
     165{
    166166        if (cmd == NULL) {
    167167                cmd = xhci_alloc_command();
     
    475475        switch (TRB_TYPE(*command_trb)) {
    476476        case XHCI_TRB_TYPE_NO_OP_CMD:
    477                 assert(code = XHCI_TRBC_TRB_ERROR);
     477                assert(code == XHCI_TRBC_TRB_ERROR);
    478478                break;
    479479        case XHCI_TRB_TYPE_ENABLE_SLOT_CMD:
Note: See TracChangeset for help on using the changeset viewer.