Changeset 8565a42 in mainline for kernel/generic/include/bitops.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/bitops.h

    r3061bc1 r8565a42  
    5454{
    5555        uint8_t n = 0;
    56        
     56
    5757        if (arg >> 16) {
    5858                arg >>= 16;
    5959                n += 16;
    6060        }
    61        
     61
    6262        if (arg >> 8) {
    6363                arg >>= 8;
    6464                n += 8;
    6565        }
    66        
     66
    6767        if (arg >> 4) {
    6868                arg >>= 4;
    6969                n += 4;
    7070        }
    71        
     71
    7272        if (arg >> 2) {
    7373                arg >>= 2;
    7474                n += 2;
    7575        }
    76        
     76
    7777        if (arg >> 1)
    7878                n += 1;
    79        
     79
    8080        return n;
    8181}
     
    8989{
    9090        uint8_t n = 0;
    91        
     91
    9292        if (arg >> 32) {
    9393                arg >>= 32;
    9494                n += 32;
    9595        }
    96        
     96
    9797        return n + fnzb32((uint32_t) arg);
    9898}
Note: See TracChangeset for help on using the changeset viewer.