Re: [mmotm:master 203/499] include/linux/vmstat.h:32:2: error: implicit declaration of function 'raw_cpu_inc'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 22 Mar 2014 08:50:32 +0800 kbuild test robot <fengguang.wu@xxxxxxxxx> wrote:

> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   4ddd4bc6e081ef29f7adaacb357b77052fefcd7e
> commit: 4ac4f1a27eed39f833aa8874515127e3bd0ff971 [203/499] vmstat: use raw_cpu_ops to avoid false positives on preemption checks
> config: make ARCH=x86_64 allnoconfig
> 
> Note: the mmotm/master HEAD 4ddd4bc6e081ef29f7adaacb357b77052fefcd7e builds fine.
>       It only hurts bisectibility.
> 
> All error/warnings:
> 
>    In file included from include/linux/mm.h:897:0,
>                     from include/linux/suspend.h:8,
>                     from arch/x86/kernel/asm-offsets.c:12:
>    include/linux/vmstat.h: In function '__count_vm_event':
> >> include/linux/vmstat.h:32:2: error: implicit declaration of function 'raw_cpu_inc' [-Werror=implicit-function-declaration]
>      raw_cpu_inc(vm_event_states.event[item]);
>      ^
>    include/linux/vmstat.h: In function '__count_vm_events':
> >> include/linux/vmstat.h:42:2: error: implicit declaration of function 'raw_cpu_add' [-Werror=implicit-function-declaration]
>      raw_cpu_add(vm_event_states.event[item], delta);
>      ^
>    cc1: some warnings being treated as errors
>    make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
>    make[2]: Target `__build' not remade because of errors.
>    make[1]: *** [prepare0] Error 2
>    make[1]: Target `prepare' not remade because of errors.
>    make: *** [sub-make] Error 2

bah, OK, patch ordering problem.  I'll shuffle them around and we'll be
stuck with a small and quite minor bisection window where the kernel
emits warnings at runtime.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]