Compile error with grsecurity-2.2.0-2.6.32.22-201009212029
Posted: Wed Sep 22, 2010 2:04 pm
I'm seeing this while trying to compile the current patch:
... it may be a general thing for all of the functions in that header, there's at least this as well:
- Code: Select all
In file included from /usr/src/linux-2.6.32.22/arch/x86/include/asm/atomic.h:4,
from /usr/src/linux-2.6.32.22/arch/x86/include/asm/thread_info.h:24,
from include/linux/thread_info.h:56,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/stat.h:60,
from init/noinitramfs.c:21:
/usr/src/linux-2.6.32.22/arch/x86/include/asm/atomic_64.h: In function ‘atomic_inc_return_unchecked’:
/usr/src/linux-2.6.32.22/arch/x86/include/asm/atomic_64.h:375: warning: passing argument 2 of ‘atomic_add_return’ from incompatible pointer type
... it may be a general thing for all of the functions in that header, there's at least this as well:
- Code: Select all
In file included from /usr/src/linux-2.6.32.22/arch/x86/include/asm/atomic.h:4,
from include/linux/crypto.h:20,
from arch/x86/kernel/asm-offsets_64.c:8,
from arch/x86/kernel/asm-offsets.c:4:
/usr/src/linux-2.6.32.22/arch/x86/include/asm/atomic_64.h: In function ‘atomic_inc_return_unchecked’:
/usr/src/linux-2.6.32.22/arch/x86/include/asm/atomic_64.h:375: warning: passing argument 2 of ‘atomic_add_return’ from incompatible pointer type