All of lore.kernel.org
 help / color / mirror / Atom feed
* mm/slab.c:3865:7: error: conflicting types for 'kmem_cache_alloc_node_trace'
@ 2012-09-25  8:27 Fengguang Wu
  2012-09-25 10:31 ` Ezequiel Garcia
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-09-25  8:27 UTC (permalink / raw)
  To: kernel-janitors

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)

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mm/slab.c:3865:7: error: conflicting types for 'kmem_cache_alloc_node_trace'
  2012-09-25  8:27 mm/slab.c:3865:7: error: conflicting types for 'kmem_cache_alloc_node_trace' Fengguang Wu
@ 2012-09-25 10:31 ` Ezequiel Garcia
  0 siblings, 0 replies; 2+ messages in thread
From: Ezequiel Garcia @ 2012-09-25 10:31 UTC (permalink / raw)
  To: kernel-janitors

On Tue, Sep 25, 2012 at 5:27 AM, Fengguang Wu <fengguang.wu@intel.com> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-25 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-25  8:27 mm/slab.c:3865:7: error: conflicting types for 'kmem_cache_alloc_node_trace' Fengguang Wu
2012-09-25 10:31 ` Ezequiel Garcia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.