mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* incompatable pointer type warnings on some archs
@ 2002-12-11  5:48 James H. Cloos Jr.
  0 siblings, 0 replies; only message in thread
From: James H. Cloos Jr. @ 2002-12-11  5:48 UTC (permalink / raw)
  To: linux-kernel

I see that find_next_zero_bit() has a first arg of void* in about half
of the archs and unsigned long* in the rest (incl asm-i386/bitops.h).

Looking at incompatable pointer type warnings in a recent compile, I
found one where the caller was passing a u64*, thus the error.

Should all of the archs use a void* for this, or is there some reason
not to?

test_and_set_bit() and test_and_clear_bit() also have the same issue.

-JimC


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-11  5:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-11  5:48 incompatable pointer type warnings on some archs James H. Cloos Jr.

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®