From: Joe Perches Date: Wed, 6 Aug 2014 23:04:53 +0000 (-0700) Subject: slab: convert last use of __FUNCTION__ to __func__ X-Git-Tag: Ubuntu-5.13.0-19.19~19641^2~183 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c42e5715617232563f0cf9f231d86b5133c4487e;p=mirror_ubuntu-jammy-kernel.git 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 --- 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; }