Ignore:
Timestamp:
Jan 7, 2021, 8:54:42 PM (5 years ago)
Author:
David Azarewicz
Message:

Fix some easy warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/include/linux/bitops.h

    r615 r637  
    4141 * Undefined if no bit exists, so code should check against 0 first.
    4242 */
    43 static unsigned long __ffs(unsigned long word)
     43static inline unsigned long __ffs(unsigned long word)
    4444{
    4545        int num = 0;
     
    7878 * Undefined if no set bit exists, so code should check against 0 first.
    7979 */
    80 static unsigned long __fls(unsigned long word)
     80static inline unsigned long __fls(unsigned long word)
    8181{
    8282        int num = BITS_PER_LONG - 1;
Note: See TracChangeset for help on using the changeset viewer.