* different xxx_bit() function prototypes in bitops for x86 vs generic
@ 2017-03-09 17:11 Joakim Tjernlund
0 siblings, 0 replies; only message in thread
From: Joakim Tjernlund @ 2017-03-09 17:11 UTC (permalink / raw)
To: linux-kernel, akpm
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?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-09 17:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-09 17:11 different xxx_bit() function prototypes in bitops for x86 vs generic Joakim Tjernlund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®