diff options
-rw-r--r-- | mm/slab.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -256,7 +256,7 @@ static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x) | |||
256 | return cachep; | 256 | return cachep; |
257 | 257 | ||
258 | pr_err("%s: Wrong slab cache. %s but object is from %s\n", | 258 | pr_err("%s: Wrong slab cache. %s but object is from %s\n", |
259 | __FUNCTION__, cachep->name, s->name); | 259 | __func__, cachep->name, s->name); |
260 | WARN_ON_ONCE(1); | 260 | WARN_ON_ONCE(1); |
261 | return s; | 261 | return s; |
262 | } | 262 | } |