Changeset 8565a42 in mainline for kernel/generic/include/adt/bitmap.h


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/adt/bitmap.h

    r3061bc1 r8565a42  
    5454        if (element >= bitmap->elements)
    5555                return;
    56        
     56
    5757        size_t byte = element / BITMAP_ELEMENT;
    5858        uint8_t mask = 1 << (element & BITMAP_REMAINER);
    59        
     59
    6060        if (value) {
    6161                bitmap->bits[byte] |= mask;
     
    7070        if (element >= bitmap->elements)
    7171                return 0;
    72        
     72
    7373        size_t byte = element / BITMAP_ELEMENT;
    7474        uint8_t mask = 1 << (element & BITMAP_REMAINER);
    75        
     75
    7676        return !!((bitmap->bits)[byte] & mask);
    7777}
Note: See TracChangeset for help on using the changeset viewer.