Re: mm/slab.c:3865:7: error: conflicting types for 'kmem_cache_alloc_node_trace'

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

 



On Tue, Sep 25, 2012 at 5:27 AM, Fengguang Wu <fengguang.wu@xxxxxxxxx> wrote:
> Hi Ezequiel,
>
> FYI, kernel build failed on
>
> 4052147c0afa1cf05780ed846f37e87cdde9f628 mm, slab: Match SLAB and SLUB kmem_cache_alloc_xxx_trace() prototype
> x86_64-allyesdebian
>
> All error/warnings:
>
> mm/slab.c:3865:7: error: conflicting types for 'kmem_cache_alloc_node_trace'
> In file included from include/linux/slab.h:213:0,
>                  from mm/slab.c:89:
> include/linux/slab_def.h:162:14: note: previous declaration of 'kmem_cache_alloc_node_trace' was here
> mm/slab.c: In function 'kmem_cache_alloc_node_trace':
> mm/slab.c:3872:50: error: '_RET_IP' undeclared (first use in this function)
> mm/slab.c:3872:50: note: each undeclared identifier is reported only once for each function it appears in
> mm/slab.c: At top level:
> mm/slab.c:3879:44: error: conflicting types for 'kmem_cache_alloc_node_trace'
> In file included from include/linux/slab.h:213:0,
>                  from mm/slab.c:89:
> include/linux/slab_def.h:162:14: note: previous declaration of 'kmem_cache_alloc_node_trace' was here
>
> vim +3865 mm/slab.c
>   3859
>   3860          return ret;
>   3861  }
>   3862  EXPORT_SYMBOL(kmem_cache_alloc_node);
>   3863
>   3864  #ifdef CONFIG_TRACING
>> 3865  void *kmem_cache_alloc_node_trace(struct kmem_cache *cachep,
>   3866                                    gfp_t flags,
>   3867                                    int nodeid,
>   3868                                    size_t size)
>

Thanks! I'm preparing a fix for this (and the other one) right now.

Ezequiel.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux