• Deepak Saxena's avatar
    [ARM] Fix _find_next_bit_be prototype to use 'const' qualifier · 836e3a1c
    Deepak Saxena authored
    _find_next_bit_be() does not have a 'const' qualifier for the first 
    argument, so we get the following warning for a very large number
    of files:
    
    In file included from include/linux/sched.h:15,
                     from include/linux/module.h:10,
                     from drivers/mtd/maps/ixp2000.c:24:
    include/linux/cpumask.h: In function `__next_cpu':
    include/linux/cpumask.h:216: warning: passing arg 1 of `_find_next_bit_be' 
    discards qualifiers from pointer target type
    Signed-off-by: default avatarDeepak Saxena <dsaxena@plexity.net>
    836e3a1c
bitops.h 11.4 KB