lkml.org 
[lkml]   [2002]   [Dec]   [11]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
Subjectincompatable pointer type warnings on some archs
From"James H. Cloos Jr." <>
Date11 Dec 2002 00:48:26 -0500
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 11:31    [W:2.610 / U:0.050 seconds]
©2003-2008 Jasper Spaans