Skip to content

Commit

Permalink
mm/slab: Fix typo _RET_IP -> _RET_IP_
Browse files Browse the repository at this point in the history
The bug was introduced by commit 7c0cb9c ("mm, slab: Replace
'caller' type, void* -> unsigned long").

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
  • Loading branch information
Ezequiel Garcia authored and Pekka Enberg committed Sep 25, 2012
1 parent 2b847c3 commit 592f414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -3869,7 +3869,7 @@ void *kmem_cache_alloc_node_trace(struct kmem_cache *cachep,
{
void *ret;

ret = slab_alloc_node(cachep, flags, nodeid, _RET_IP);
ret = slab_alloc_node(cachep, flags, nodeid, _RET_IP_);

trace_kmalloc_node(_RET_IP_, ret,
size, cachep->size,
Expand Down

0 comments on commit 592f414

Please sign in to comment.