Ignore:
Timestamp:
2018-04-12T16:27:17Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.h

    r76d0981d r3bacee1  
    103103{
    104104        assert(instance);
    105         const int cc = (OHCI_MEM32_RD(instance->status) >> TD_STATUS_CC_SHIFT)
    106                 & TD_STATUS_CC_MASK;
     105        const int cc = (OHCI_MEM32_RD(instance->status) >> TD_STATUS_CC_SHIFT) &
     106            TD_STATUS_CC_MASK;
    107107        /* This value is changed on transfer completion,
    108108         * either to CC_NOERROR or and error code.
     
    122122{
    123123        assert(instance);
    124         const int cc = (OHCI_MEM32_RD(instance->status)
    125             >> TD_STATUS_CC_SHIFT) & TD_STATUS_CC_MASK;
     124        const int cc = (OHCI_MEM32_RD(instance->status) >>
     125            TD_STATUS_CC_SHIFT) & TD_STATUS_CC_MASK;
    126126        return cc_to_rc(cc);
    127127}
Note: See TracChangeset for help on using the changeset viewer.