lkml.org 
[lkml]   [2017]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subjectdifferent xxx_bit() function prototypes in bitops for x86 vs generic
    Date
    Building virtualbox external kernel modules warns about different types, example:
    include/asm-generic/bitops/le.h;
    set_bit_le(int nr, const void *addr)
    vs
    arch/x86/include/asm/bitops.h:
    set_bit(long nr, volatile unsigned long *addr)

    This difference is causes complaints, changing
    set_bit_le(int nr, const void *addr)
    to
    set_bit_le(int nr, const unsigned long *addr)
    makes the warnings go away for this function.

    Should not these two be the same?
    \
     
     \ /
      Last update: 2017-03-09 18:12    [W:3.248 / U:1.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site