From c42e5715617232563f0cf9f231d86b5133c4487e Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Wed, 6 Aug 2014 16:04:53 -0700 Subject: [PATCH] slab: convert last use of __FUNCTION__ to __func__ Just about all of these have been converted to __func__, so convert the last use. Signed-off-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- mm/slab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slab.h b/mm/slab.h index 928823e17e58..0e0fdd365840 100644 --- a/mm/slab.h +++ b/mm/slab.h @@ -256,7 +256,7 @@ static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x) return cachep; pr_err("%s: Wrong slab cache. %s but object is from %s\n", - __FUNCTION__, cachep->name, s->name); + __func__, cachep->name, s->name); WARN_ON_ONCE(1); return s; } -- 2.34.1