Skip to contentSkip to conversation

x86 build warning in ‘arch_prepare_kprobe’:

3.1-r5 James Cloos 1 participant 1 message Sep 9, 2011

lore
Share & tools
lore
#0 lore raw

gcc-4.6.1 warns:

In file included from include/linux/bitops.h:22:0,

                 from include/linux/kernel.h:17,
                 from /usr/src/lugabout-github/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/lugabout-github/arch/x86/include/asm/current.h:5,
                 from /usr/src/lugabout-github/arch/x86/include/asm/processor.h:15,
                 from /usr/src/lugabout-github/arch/x86/include/asm/atomic.h:6,
                 from include/linux/atomic.h:4,
                 from include/linux/mutex.h:18,
                 from include/linux/notifier.h:13,
                 from include/linux/kprobes.h:34,
                 from arch/x86/kernel/kprobes.c:43:

/usr/src/lugabout-github/arch/x86/include/asm/bitops.h: In function ‘arch_prepare_kprobe’:
/usr/src/lugabout-github/arch/x86/include/asm/bitops.h:319:2: warning: use of memory input without lvalue in asm operand 1 is deprecated [enabled by default]

-JimC

Signature · 1 line
James Cloos <[email protected]>         OpenPGP: 1024D/ED7DAEA6